home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 …ember: Reference Library / Dev.CD Dec 94.toast / Technical Documentation / Mac Tech Notes (DocViewer) / DV • Devices / DV22 CD-ROM Driver Call < prev    next >
MacBinary  |  1994-10-24  |  214.1 KB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Sep 30 11:17:34 1994, modified Mon Oct 24 14:44:02 1994, creator 'HLX2', type 'ONLN', 212062 bytes "DV22 CD-ROM Driver Call" , at 0x33cde 7015 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 17 44 56 32 32 20 43 | 44 2d 52 4f 4d 20 44 72 |..DV22 C|D-ROM Dr|
|00000010| 69 76 65 72 20 43 61 6c | 6c 00 00 00 00 00 00 00 |iver Cal|l.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 03 3c 5e 00 | 00 1b 67 aa b1 dc 8e aa |.....<^.|..g.....|
|00000060| d1 b0 f2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c0 71 00 00 |........|.....q..|
|00000080| 44 56 20 32 32 20 2d 20 | 43 44 2d 52 4f 4d 20 44 |DV 22 - |CD-ROM D|
|00000090| 72 69 76 65 72 20 43 61 | 6c 6c 73 0d 44 65 76 69 |river Ca|lls.Devi|
|000000a0| 63 65 73 09 0d 52 65 76 | 69 73 65 64 20 62 79 3a |ces..Rev|ised by:|
|000000b0| 09 43 68 72 69 73 20 42 | 72 6f 77 6e 09 4d 61 79 |.Chris B|rown.May|
|000000c0| 20 31 39 39 34 0d 57 72 | 69 74 74 65 6e 20 62 79 | 1994.Wr|itten by|
|000000d0| 3a 09 43 68 72 69 73 20 | 42 72 6f 77 6e 2c 20 4e |:.Chris |Brown, N|
|000000e0| 65 69 6c 20 44 61 79 2c | 20 61 6e 64 20 42 72 69 |eil Day,| and Bri|
|000000f0| 61 6e 20 42 65 63 68 74 | 65 6c 09 4d 61 79 20 31 |an Becht|el.May 1|
|00000100| 39 39 33 0d 54 68 69 73 | 20 54 65 63 68 6e 69 63 |993.This| Technic|
|00000110| 61 6c 20 4e 6f 74 65 20 | 64 69 73 63 75 73 73 65 |al Note |discusse|
|00000120| 73 20 74 68 65 20 70 75 | 62 6c 69 63 20 69 6e 74 |s the pu|blic int|
|00000130| 65 72 66 61 63 65 20 74 | 6f 20 74 68 65 20 41 70 |erface t|o the Ap|
|00000140| 70 6c 65 20 43 44 2d 52 | 4f 4d 20 64 72 69 76 65 |ple CD-R|OM drive|
|00000150| 72 2c 20 77 68 69 63 68 | 20 63 75 72 72 65 6e 74 |r, which| current|
|00000160| 6c 79 20 73 75 70 70 6f | 72 74 73 20 74 68 65 20 |ly suppo|rts the |
|00000170| 41 70 70 6c 65 43 44 20 | 53 43 2c 20 41 70 70 6c |AppleCD |SC, Appl|
|00000180| 65 43 44 20 53 43 20 50 | 6c 75 73 2f 41 70 70 6c |eCD SC P|lus/Appl|
|00000190| 65 43 44 20 31 35 30 2c | 20 41 70 70 6c 65 43 44 |eCD 150,| AppleCD|
|000001a0| 20 33 30 30 2c 20 61 6e | 64 20 41 70 70 6c 65 43 | 300, an|d AppleC|
|000001b0| 44 20 33 30 30 20 50 6c | 75 73 2e 20 54 68 69 73 |D 300 Pl|us. This|
|000001c0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 73 75 70 | informa|tion sup|
|000001d0| 65 72 73 65 64 65 73 20 | 74 68 65 20 d2 4d 61 63 |ersedes |the .Mac|
|000001e0| 69 6e 74 6f 73 68 20 43 | 44 2d 52 4f 4d 20 44 65 |intosh C|D-ROM De|
|000001f0| 76 69 63 65 20 44 72 69 | 76 65 72 d3 20 63 68 61 |vice Dri|ver. cha|
|00000200| 70 74 65 72 20 6f 66 20 | 74 68 65 20 41 70 70 6c |pter of |the Appl|
|00000210| 65 43 44 20 53 43 20 44 | 65 76 65 6c 6f 70 65 72 |eCD SC D|eveloper|
|00000220| d5 73 20 47 75 69 64 65 | 20 61 76 61 69 6c 61 62 |.s Guide| availab|
|00000230| 6c 65 20 74 68 72 6f 75 | 67 68 20 41 50 44 41 2e |le throu|gh APDA.|
|00000240| 20 49 66 20 79 6f 75 27 | 72 65 20 77 72 69 74 69 | If you'|re writi|
|00000250| 6e 67 20 73 70 65 63 69 | 61 6c 20 70 75 72 70 6f |ng speci|al purpo|
|00000260| 73 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |se appli|cation s|
|00000270| 6f 66 74 77 61 72 65 20 | 74 68 61 74 20 6e 65 65 |oftware |that nee|
|00000280| 64 73 20 74 6f 20 61 63 | 63 65 73 73 20 74 68 65 |ds to ac|cess the|
|00000290| 20 61 75 64 69 6f 20 6f | 72 20 64 61 74 61 20 70 | audio o|r data p|
|000002a0| 6f 72 74 69 6f 6e 73 20 | 6f 66 20 61 20 43 44 2d |ortions |of a CD-|
|000002b0| 52 4f 4d 20 64 69 72 65 | 63 74 6c 79 2c 20 74 68 |ROM dire|ctly, th|
|000002c0| 69 73 20 6e 6f 74 65 20 | 77 69 6c 6c 20 62 65 20 |is note |will be |
|000002d0| 6f 66 20 69 6e 74 65 72 | 65 73 74 20 74 6f 20 79 |of inter|est to y|
|000002e0| 6f 75 2e 20 0d 43 68 61 | 6e 67 65 73 20 73 69 6e |ou. .Cha|nges sin|
|000002f0| 63 65 20 4d 61 79 20 31 | 39 39 33 3a 20 41 64 64 |ce May 1|993: Add|
|00000300| 65 64 20 6e 65 77 20 63 | 61 6c 6c 73 20 61 76 61 |ed new c|alls ava|
|00000310| 69 6c 61 62 6c 65 20 69 | 6e 20 76 65 72 73 69 6f |ilable i|n versio|
|00000320| 6e 20 35 2e 30 2e 78 20 | 6f 66 20 74 68 65 20 41 |n 5.0.x |of the A|
|00000330| 70 70 6c 65 20 43 44 2d | 52 4f 4d 20 64 72 69 76 |pple CD-|ROM driv|
|00000340| 65 72 20 65 78 74 65 6e | 73 69 6f 6e 2e 20 43 6f |er exten|sion. Co|
|00000350| 72 72 65 63 74 65 64 20 | 73 6f 6d 65 20 6d 69 6e |rrected |some min|
|00000360| 6f 72 20 65 72 72 6f 72 | 73 2e 0d 54 6f 70 69 63 |or error|s..Topic|
|00000370| 73 0d a5 20 53 74 61 74 | 75 73 20 26 20 43 6f 6e |s.. Stat|us & Con|
|00000380| 74 72 6f 6c 20 63 61 6c | 6c 73 20 66 6f 72 20 74 |trol cal|ls for t|
|00000390| 68 65 20 41 70 70 6c 65 | 20 43 44 2d 52 4f 4d 20 |he Apple| CD-ROM |
|000003a0| 44 72 69 76 65 72 2e 0d | a5 20 44 69 66 66 65 72 |Driver..|. Differ|
|000003b0| 65 6e 63 65 73 20 62 65 | 74 77 65 65 6e 20 43 44 |ences be|tween CD|
|000003c0| 20 53 43 2c 20 43 44 20 | 53 43 20 50 6c 75 73 2f | SC, CD |SC Plus/|
|000003d0| 43 44 20 31 35 30 2c 20 | 43 44 20 33 30 30 2c 20 |CD 150, |CD 300, |
|000003e0| 61 6e 64 20 43 44 20 33 | 30 30 20 50 6c 75 73 2e |and CD 3|00 Plus.|
|000003f0| 0d 54 68 69 73 20 54 65 | 63 68 6e 69 63 61 6c 20 |.This Te|chnical |
|00000400| 4e 6f 74 65 20 64 65 73 | 63 72 69 62 65 73 20 76 |Note des|cribes v|
|00000410| 65 72 73 69 6f 6e 20 34 | 2e 30 2e 78 20 74 68 72 |ersion 4|.0.x thr|
|00000420| 6f 75 67 68 20 76 65 72 | 73 69 6f 6e 20 35 2e 30 |ough ver|sion 5.0|
|00000430| 2e 78 20 6f 66 20 74 68 | 65 20 41 70 70 6c 65 20 |.x of th|e Apple |
|00000440| 43 44 2d 52 4f 4d 20 64 | 72 69 76 65 72 2e 20 50 |CD-ROM d|river. P|
|00000450| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 73 |revious |versions|
|00000460| 20 6f 66 20 74 68 65 20 | 41 70 70 6c 65 20 43 44 | of the |Apple CD|
|00000470| 2d 52 4f 4d 20 64 72 69 | 76 65 72 20 61 72 65 20 |-ROM dri|ver are |
|00000480| 64 6f 63 75 6d 65 6e 74 | 65 64 20 69 6e 20 74 68 |document|ed in th|
|00000490| 65 20 41 70 70 6c 65 43 | 44 20 53 43 20 44 65 76 |e AppleC|D SC Dev|
|000004a0| 65 6c 6f 70 65 72 d5 73 | 20 47 75 69 64 65 20 66 |eloper.s| Guide f|
|000004b0| 72 6f 6d 20 41 50 44 41 | 2e 0d 56 65 72 73 69 6f |rom APDA|..Versio|
|000004c0| 6e 20 35 2e 78 20 48 69 | 73 74 6f 72 79 3a 20 56 |n 5.x Hi|story: V|
|000004d0| 65 72 73 69 6f 6e 20 35 | 2e 30 20 61 64 64 73 20 |ersion 5|.0 adds |
|000004e0| 73 75 70 70 6f 72 74 20 | 66 6f 72 20 74 68 65 20 |support |for the |
|000004f0| 41 70 70 6c 65 43 44 20 | 33 30 30 20 50 6c 75 73 |AppleCD |300 Plus|
|00000500| 20 61 6e 64 20 74 68 72 | 65 65 20 6e 65 77 20 63 | and thr|ee new c|
|00000510| 61 6c 6c 73 3a 20 44 72 | 69 76 65 72 47 65 73 74 |alls: Dr|iverGest|
|00000520| 61 6c 74 2c 20 52 65 74 | 75 72 6e 44 65 76 69 63 |alt, Ret|urnDevic|
|00000530| 65 49 64 65 6e 74 2c 20 | 61 6e 64 20 47 65 74 43 |eIdent, |and GetC|
|00000540| 44 46 65 61 74 75 72 65 | 73 2e 20 56 65 72 73 69 |DFeature|s. Versi|
|00000550| 6f 6e 20 35 2e 30 20 69 | 73 20 61 6c 73 6f 20 74 |on 5.0 i|s also t|
|00000560| 68 65 20 66 69 72 73 74 | 20 76 65 72 73 69 6f 6e |he first| version|
|00000570| 20 74 6f 20 73 75 70 70 | 6f 72 74 20 61 73 79 6e | to supp|ort asyn|
|00000580| 63 68 72 6f 6e 6f 75 73 | 20 49 2f 4f 20 75 73 69 |chronous| I/O usi|
|00000590| 6e 67 20 53 43 53 49 20 | 4d 61 6e 61 67 65 72 20 |ng SCSI |Manager |
|000005a0| 34 2e 33 2e 20 54 68 65 | 20 52 65 61 64 4d 43 4e |4.3. The| ReadMCN|
|000005b0| 20 61 6e 64 20 52 65 61 | 64 49 53 52 43 20 63 61 | and Rea|dISRC ca|
|000005c0| 6c 6c 73 20 64 69 64 20 | 6e 6f 74 20 72 65 74 75 |lls did |not retu|
|000005d0| 72 6e 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 69 |rn the c|orrect i|
|000005e0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 69 6e 20 76 65 |nformati|on in ve|
|000005f0| 72 73 69 6f 6e 20 34 2e | 78 20 77 68 65 6e 20 75 |rsion 4.|x when u|
|00000600| 73 69 6e 67 20 61 6e 20 | 41 70 70 6c 65 43 44 20 |sing an |AppleCD |
|00000610| 33 30 30 2e 20 54 68 6f | 73 65 20 74 77 6f 20 63 |300. Tho|se two c|
|00000620| 61 6c 6c 73 20 6e 6f 77 | 20 77 6f 72 6b 20 69 6e |alls now| work in|
|00000630| 20 76 65 72 73 69 6f 6e | 20 35 2e 30 2c 20 62 75 | version| 5.0, bu|
|00000640| 74 20 74 68 65 20 66 6f | 72 6d 61 74 20 6f 66 20 |t the fo|rmat of |
|00000650| 74 68 65 20 72 65 74 75 | 72 6e 65 64 20 70 61 72 |the retu|rned par|
|00000660| 61 6d 65 74 65 72 73 20 | 68 61 73 20 63 68 61 6e |ameters |has chan|
|00000670| 67 65 64 20 66 6f 72 20 | 61 6c 6c 20 64 72 69 76 |ged for |all driv|
|00000680| 65 73 2e 20 56 65 72 73 | 69 6f 6e 20 35 2e 30 2e |es. Vers|ion 5.0.|
|00000690| 31 20 66 69 78 65 73 20 | 74 68 65 20 66 6f 6c 6c |1 fixes |the foll|
|000006a0| 6f 77 69 6e 67 20 70 72 | 6f 62 6c 65 6d 73 3a 20 |owing pr|oblems: |
|000006b0| 61 6e 20 65 6d 70 74 79 | 20 74 72 61 79 20 63 61 |an empty| tray ca|
|000006c0| 6e 20 62 65 20 65 6a 65 | 63 74 65 64 20 75 73 69 |n be eje|cted usi|
|000006d0| 6e 67 20 74 68 65 20 45 | 6a 65 63 74 20 63 6f 6e |ng the E|ject con|
|000006e0| 74 72 6f 6c 20 63 61 6c | 6c 3b 20 77 68 65 6e 20 |trol cal|l; when |
|000006f0| 74 68 69 72 64 2d 70 61 | 72 74 79 20 53 43 53 49 |third-pa|rty SCSI|
|00000700| 20 61 63 63 65 6c 65 72 | 61 74 6f 72 20 63 61 72 | acceler|ator car|
|00000710| 64 73 20 61 72 65 20 69 | 6e 73 74 61 6c 6c 65 64 |ds are i|nstalled|
|00000720| 2c 20 74 68 65 20 64 72 | 69 76 65 72 20 6e 6f 77 |, the dr|iver now|
|00000730| 20 73 65 65 73 20 74 68 | 65 20 43 44 2d 52 4f 4d | sees th|e CD-ROM|
|00000740| 20 64 72 69 76 65 73 20 | 61 6e 64 20 74 68 65 20 | drives |and the |
|00000750| 57 68 6f 49 73 54 68 65 | 72 65 20 63 61 6c 6c 20 |WhoIsThe|re call |
|00000760| 77 6f 72 6b 73 20 63 6f | 72 72 65 63 74 6c 79 3b |works co|rrectly;|
|00000770| 20 44 72 69 76 65 72 47 | 65 73 74 61 6c 74 20 77 | DriverG|estalt w|
|00000780| 69 6c 6c 20 6e 6f 20 6c | 6f 6e 67 65 72 20 6d 6f |ill no l|onger mo|
|00000790| 64 69 66 79 20 63 73 50 | 61 72 61 6d 5b 30 5d 2e |dify csP|aram[0].|
|000007a0| 0d 56 65 72 73 69 6f 6e | 20 34 2e 78 20 48 69 73 |.Version| 4.x His|
|000007b0| 74 6f 72 79 3a 20 56 65 | 72 73 69 6f 6e 20 34 2e |tory: Ve|rsion 4.|
|000007c0| 30 20 6f 66 20 74 68 65 | 20 41 70 70 6c 65 20 43 |0 of the| Apple C|
|000007d0| 44 2d 52 4f 4d 20 65 78 | 74 65 6e 73 69 6f 6e 20 |D-ROM ex|tension |
|000007e0| 77 61 73 20 74 68 65 20 | 66 69 72 73 74 20 76 65 |was the |first ve|
|000007f0| 72 73 69 6f 6e 20 74 6f | 20 73 75 70 70 6f 72 74 |rsion to| support|
|00000800| 20 64 75 61 6c 2d 73 70 | 65 65 64 20 6f 70 65 72 | dual-sp|eed oper|
|00000810| 61 74 69 6f 6e 20 61 6e | 64 20 6d 75 6c 74 69 70 |ation an|d multip|
|00000820| 6c 65 2d 73 65 73 73 69 | 6f 6e 20 50 68 6f 74 6f |le-sessi|on Photo|
|00000830| 20 43 44 73 20 6f 6e 20 | 74 68 65 20 41 70 70 6c | CDs on |the Appl|
|00000840| 65 43 44 20 33 30 30 2e | 20 56 65 72 73 69 6f 6e |eCD 300.| Version|
|00000850| 20 34 2e 30 20 61 6c 73 | 6f 20 73 75 70 70 6f 72 | 4.0 als|o suppor|
|00000860| 74 73 20 73 69 6e 67 6c | 65 2d 73 65 73 73 69 6f |ts singl|e-sessio|
|00000870| 6e 20 50 68 6f 74 6f 20 | 43 44 73 20 6f 6e 20 61 |n Photo |CDs on a|
|00000880| 6c 6c 20 6f 74 68 65 72 | 20 41 70 70 6c 65 20 43 |ll other| Apple C|
|00000890| 44 2d 52 4f 4d 20 64 72 | 69 76 65 73 2e 20 56 65 |D-ROM dr|ives. Ve|
|000008a0| 72 73 69 6f 6e 20 34 2e | 30 20 68 61 64 20 70 72 |rsion 4.|0 had pr|
|000008b0| 6f 62 6c 65 6d 73 20 77 | 69 74 68 20 63 65 72 74 |oblems w|ith cert|
|000008c0| 61 69 6e 20 43 44 2d 52 | 4f 4d 73 20 74 68 61 74 |ain CD-R|OMs that|
|000008d0| 20 75 73 65 64 20 65 6e | 63 72 79 70 74 69 6f 6e | used en|cryption|
|000008e0| 20 74 65 63 68 6e 6f 6c | 6f 67 79 20 74 6f 20 72 | technol|ogy to r|
|000008f0| 65 73 74 72 69 63 74 20 | 61 63 63 65 73 73 20 74 |estrict |access t|
|00000900| 6f 20 66 69 6c 65 73 2e | 20 57 68 65 6e 20 74 68 |o files.| When th|
|00000910| 65 20 63 75 73 74 6f 6d | 65 72 20 77 61 73 20 67 |e custom|er was g|
|00000920| 69 76 65 6e 20 61 20 64 | 65 63 72 79 70 74 69 6f |iven a d|ecryptio|
|00000930| 6e 20 6b 65 79 20 74 6f | 20 67 61 69 6e 20 61 63 |n key to| gain ac|
|00000940| 63 65 73 73 20 74 6f 20 | 61 20 66 69 6c 65 2c 20 |cess to |a file, |
|00000950| 74 68 65 20 66 69 6c 65 | 20 77 6f 75 6c 64 20 6e |the file| would n|
|00000960| 6f 74 20 61 6c 77 61 79 | 73 20 61 70 70 65 61 72 |ot alway|s appear|
|00000970| 20 69 6e 20 74 68 65 20 | 46 69 6e 64 65 72 2e 20 | in the |Finder. |
|00000980| 56 65 72 73 69 6f 6e 20 | 34 2e 30 2e 31 20 77 61 |Version |4.0.1 wa|
|00000990| 73 20 70 72 6f 64 75 63 | 65 64 20 74 6f 20 66 69 |s produc|ed to fi|
|000009a0| 78 20 74 68 69 73 20 70 | 72 6f 62 6c 65 6d 2e 20 |x this p|roblem. |
|000009b0| 54 68 69 73 20 76 65 72 | 73 69 6f 6e 20 77 61 73 |This ver|sion was|
|000009c0| 20 6f 6e 6c 79 20 74 65 | 73 74 65 64 20 6f 6e 20 | only te|sted on |
|000009d0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 49 49 |the Maci|ntosh II|
|000009e0| 76 78 20 61 6e 64 20 50 | 65 72 66 6f 72 6d 61 20 |vx and P|erforma |
|000009f0| 36 30 30 2e 20 56 65 72 | 73 69 6f 6e 20 34 2e 30 |600. Ver|sion 4.0|
|00000a00| 2e 32 20 77 61 73 20 74 | 65 73 74 65 64 20 6f 6e |.2 was t|ested on|
|00000a10| 20 61 6c 6c 20 4d 61 63 | 69 6e 74 6f 73 68 20 63 | all Mac|intosh c|
|00000a20| 6f 6d 70 75 74 65 72 73 | 2e 20 41 20 66 65 77 20 |omputers|. A few |
|00000a30| 63 68 61 6e 67 65 73 20 | 77 65 72 65 20 6d 61 64 |changes |were mad|
|00000a40| 65 20 74 6f 20 65 6e 73 | 75 72 65 20 63 6f 6d 70 |e to ens|ure comp|
|00000a50| 61 74 69 62 69 6c 69 74 | 79 20 61 63 72 6f 73 73 |atibilit|y across|
|00000a60| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 70 | the Mac|intosh p|
|00000a70| 72 6f 64 75 63 74 20 6c | 69 6e 65 2e 20 56 65 72 |roduct l|ine. Ver|
|00000a80| 73 69 6f 6e 20 34 2e 30 | 2e 32 20 63 6f 72 72 65 |sion 4.0|.2 corre|
|00000a90| 63 74 65 64 20 70 72 6f | 62 6c 65 6d 73 20 77 68 |cted pro|blems wh|
|00000aa0| 65 6e 20 73 65 6e 64 69 | 6e 67 20 61 75 64 69 6f |en sendi|ng audio|
|00000ab0| 20 63 6f 6d 6d 61 6e 64 | 73 20 75 73 69 6e 67 20 | command|s using |
|00000ac0| 62 6c 6f 63 6b 20 61 64 | 64 72 65 73 73 69 6e 67 |block ad|dressing|
|00000ad0| 20 6f 6e 6c 79 2e 20 41 | 75 64 69 6f 20 63 61 6c | only. A|udio cal|
|00000ae0| 6c 73 20 75 73 69 6e 67 | 20 6d 69 6e 75 74 65 2d |ls using| minute-|
|00000af0| 73 65 63 6f 6e 64 2d 66 | 72 61 6d 65 20 61 64 64 |second-f|rame add|
|00000b00| 72 65 73 73 69 6e 67 20 | 63 6f 6e 74 69 6e 75 65 |ressing |continue|
|00000b10| 64 20 74 6f 20 77 6f 72 | 6b 20 63 6f 72 72 65 63 |d to wor|k correc|
|00000b20| 74 6c 79 2e 0d 41 75 64 | 69 6f 20 63 6f 6d 70 61 |tly..Aud|io compa|
|00000b30| 63 74 20 64 69 73 63 73 | 20 61 6e 64 20 43 44 2d |ct discs| and CD-|
|00000b40| 52 4f 4d 20 64 69 73 63 | 73 20 63 6f 6e 66 6f 72 |ROM disc|s confor|
|00000b50| 6d 20 74 6f 20 74 77 6f | 20 73 74 61 6e 64 61 72 |m to two| standar|
|00000b60| 64 73 2c 20 63 61 6c 6c | 65 64 20 74 68 65 20 52 |ds, call|ed the R|
|00000b70| 65 64 20 42 6f 6f 6b 20 | 61 6e 64 20 74 68 65 20 |ed Book |and the |
|00000b80| 59 65 6c 6c 6f 77 20 42 | 6f 6f 6b 2e 20 54 68 65 |Yellow B|ook. The|
|00000b90| 20 52 65 64 20 62 6f 6f | 6b 20 73 70 65 63 69 66 | Red boo|k specif|
|00000ba0| 69 65 73 20 61 75 64 69 | 6f 20 73 74 61 6e 64 61 |ies audi|o standa|
|00000bb0| 72 64 73 3b 20 74 68 65 | 20 59 65 6c 6c 6f 77 20 |rds; the| Yellow |
|00000bc0| 62 6f 6f 6b 20 73 70 65 | 63 69 66 69 65 73 20 61 |book spe|cifies a|
|00000bd0| 64 64 69 74 69 6f 6e 61 | 6c 20 73 74 61 6e 64 61 |dditiona|l standa|
|00000be0| 72 64 73 20 66 6f 72 20 | 43 44 2d 52 4f 4d 2e 20 |rds for |CD-ROM. |
|00000bf0| d2 52 65 64 20 42 6f 6f | 6b d3 20 69 73 20 74 68 |.Red Boo|k. is th|
|00000c00| 65 20 63 6f 6d 6d 6f 6e | 20 6e 61 6d 65 20 6f 66 |e common| name of|
|00000c10| 20 74 68 65 20 d2 43 6f | 6d 70 61 63 74 20 44 69 | the .Co|mpact Di|
|00000c20| 73 63 20 44 69 67 69 74 | 61 6c 20 41 75 64 69 6f |sc Digit|al Audio|
|00000c30| 20 53 74 61 6e 64 61 72 | 64 d3 20 73 74 61 6e 64 | Standar|d. stand|
|00000c40| 61 72 64 2c 20 43 45 49 | 20 49 45 43 20 39 30 38 |ard, CEI| IEC 908|
|00000c50| 2e 20 57 68 65 6e 20 61 | 20 64 69 73 63 20 63 6f |. When a| disc co|
|00000c60| 6e 66 6f 72 6d 73 20 74 | 6f 20 74 68 65 20 72 65 |nforms t|o the re|
|00000c70| 64 20 62 6f 6f 6b 20 73 | 74 61 6e 64 61 72 64 2c |d book s|tandard,|
|00000c80| 20 69 74 20 77 69 6c 6c | 20 75 73 75 61 6c 6c 79 | it will| usually|
|00000c90| 20 68 61 76 65 20 d2 64 | 69 67 69 74 61 6c 20 61 | have .d|igital a|
|00000ca0| 75 64 69 6f d3 20 70 72 | 69 6e 74 65 64 20 62 65 |udio. pr|inted be|
|00000cb0| 6c 6f 77 20 74 68 65 20 | d2 64 69 73 63 d3 20 6c |low the |.disc. l|
|00000cc0| 6f 67 6f 2e 20 4d 6f 73 | 74 20 6d 75 73 69 63 20 |ogo. Mos|t music |
|00000cd0| 43 44 73 20 63 6f 6e 66 | 6f 72 6d 20 74 6f 20 74 |CDs conf|orm to t|
|00000ce0| 68 69 73 20 73 74 61 6e | 64 61 72 64 2e 20 d2 59 |his stan|dard. .Y|
|00000cf0| 65 6c 6c 6f 77 20 42 6f | 6f 6b d3 20 69 73 20 74 |ellow Bo|ok. is t|
|00000d00| 68 65 20 73 74 61 6e 64 | 61 72 64 20 66 6f 72 20 |he stand|ard for |
|00000d10| 43 44 2d 52 4f 4d 2c 20 | 49 53 4f 20 31 30 31 34 |CD-ROM, |ISO 1014|
|00000d20| 39 2e 20 57 68 65 6e 20 | 61 20 64 69 73 63 20 63 |9. When |a disc c|
|00000d30| 6f 6e 66 6f 72 6d 73 20 | 74 6f 20 74 68 65 20 79 |onforms |to the y|
|00000d40| 65 6c 6c 6f 77 20 62 6f | 6f 6b 2c 20 69 74 20 77 |ellow bo|ok, it w|
|00000d50| 69 6c 6c 20 75 73 75 61 | 6c 6c 79 20 73 61 79 20 |ill usua|lly say |
|00000d60| d2 64 61 74 61 20 73 74 | 6f 72 61 67 65 d3 20 62 |.data st|orage. b|
|00000d70| 65 6e 65 61 74 68 20 74 | 68 65 20 d2 64 69 73 63 |eneath t|he .disc|
|00000d80| d3 20 6c 6f 67 6f 2e 0d | 54 68 65 72 65 20 61 72 |. logo..|There ar|
|00000d90| 65 20 73 65 76 65 72 61 | 6c 20 6f 74 68 65 72 20 |e severa|l other |
|00000da0| 73 74 61 6e 64 61 72 64 | 73 20 75 73 75 61 6c 6c |standard|s usuall|
|00000db0| 79 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |y associ|ated wit|
|00000dc0| 68 20 43 44 2d 52 4f 4d | 20 74 65 63 68 6e 6f 6c |h CD-ROM| technol|
|00000dd0| 6f 67 79 2e 20 54 68 65 | 20 d2 47 72 65 65 6e 20 |ogy. The| .Green |
|00000de0| 42 6f 6f 6b d3 20 73 74 | 61 6e 64 61 72 64 20 64 |Book. st|andard d|
|00000df0| 65 66 69 6e 65 73 20 43 | 44 2d 49 20 28 43 6f 6d |efines C|D-I (Com|
|00000e00| 70 61 63 74 20 44 69 73 | 63 20 49 6e 74 65 72 61 |pact Dis|c Intera|
|00000e10| 63 74 69 76 65 29 3b 20 | d2 4f 72 61 6e 67 65 20 |ctive); |.Orange |
|00000e20| 42 6f 6f 6b d3 20 64 65 | 66 69 6e 65 73 20 77 72 |Book. de|fines wr|
|00000e30| 69 74 65 2d 6f 6e 63 65 | 20 63 6f 6d 70 61 63 74 |ite-once| compact|
|00000e40| 20 64 69 73 63 73 3b 20 | 61 6e 64 20 d2 42 6c 75 | discs; |and .Blu|
|00000e50| 65 20 42 6f 6f 6b d3 20 | 64 65 66 69 6e 65 73 20 |e Book. |defines |
|00000e60| 43 44 2d 56 20 28 43 6f | 6d 70 61 63 74 20 44 69 |CD-V (Co|mpact Di|
|00000e70| 73 63 20 56 69 64 65 6f | 29 20 61 6e 64 20 4c 61 |sc Video|) and La|
|00000e80| 73 65 72 44 69 73 63 2e | 0d 59 6f 75 20 63 61 6e |serDisc.|.You can|
|00000e90| 20 67 65 74 20 74 68 65 | 20 52 65 64 20 42 6f 6f | get the| Red Boo|
|00000ea0| 6b 20 61 6e 64 20 59 65 | 6c 6c 6f 77 20 42 6f 6f |k and Ye|llow Boo|
|00000eb0| 6b 20 66 72 6f 6d 0d 20 | 20 20 20 20 20 41 4e 53 |k from. | ANS|
|00000ec0| 49 0d 20 20 20 20 20 20 | 41 74 74 6e 3a 20 53 61 |I. |Attn: Sa|
|00000ed0| 6c 65 73 0d 20 20 20 20 | 20 20 31 34 33 30 20 42 |les. | 1430 B|
|00000ee0| 72 6f 61 64 77 61 79 0d | 20 20 20 20 20 20 4e 65 |roadway.| Ne|
|00000ef0| 77 20 59 6f 72 6b 2c 20 | 4e 59 20 20 31 30 30 31 |w York, |NY 1001|
|00000f00| 38 0d 20 20 20 20 20 20 | 28 32 31 32 29 20 36 34 |8. |(212) 64|
|00000f10| 32 2d 34 39 30 30 0d 20 | 20 20 20 20 20 52 65 64 |2-4900. | Red|
|00000f20| 20 42 6f 6f 6b 3a 20 09 | 43 45 49 20 49 45 43 20 | Book: .|CEI IEC |
|00000f30| 39 30 38 0d 20 20 20 20 | 20 20 59 65 6c 6c 6f 77 |908. | Yellow|
|00000f40| 20 42 6f 6f 6b 3a 09 49 | 53 4f 20 31 30 31 34 39 | Book:.I|SO 10149|
|00000f50| 3a 31 39 38 39 0d 20 20 | 20 59 6f 75 20 63 61 6e |:1989. | You can|
|00000f60| 20 67 65 74 20 74 68 65 | 20 47 72 65 65 6e 20 42 | get the| Green B|
|00000f70| 6f 6f 6b 20 66 72 6f 6d | 0d 20 20 20 20 20 20 41 |ook from|. A|
|00000f80| 6d 65 72 69 63 61 6e 20 | 43 44 2d 49 20 41 73 73 |merican |CD-I Ass|
|00000f90| 6f 63 69 61 74 69 6f 6e | 0d 20 20 20 20 20 20 31 |ociation|. 1|
|00000fa0| 31 31 31 31 20 53 61 6e | 74 61 20 4d 6f 6e 69 63 |1111 San|ta Monic|
|00000fb0| 61 2c 20 53 75 69 74 65 | 20 37 35 30 0d 20 20 20 |a, Suite| 750. |
|00000fc0| 20 20 20 4c 6f 73 20 41 | 6e 67 65 6c 65 73 2c 20 | Los A|ngeles, |
|00000fd0| 43 41 20 20 39 30 30 32 | 35 0d 20 20 20 20 20 20 |CA 9002|5. |
|00000fe0| 28 32 31 33 29 20 34 34 | 34 2d 36 36 31 39 0d 54 |(213) 44|4-6619.T|
|00000ff0| 68 65 20 6f 74 68 65 72 | 20 73 74 61 6e 64 61 72 |he other| standar|
|00001000| 64 73 20 61 72 65 20 61 | 76 61 69 6c 61 62 6c 65 |ds are a|vailable|
|00001010| 20 6f 6e 6c 79 20 74 6f | 20 53 6f 6e 79 2f 50 68 | only to| Sony/Ph|
|00001020| 69 6c 69 70 73 20 6c 69 | 63 65 6e 73 65 65 73 2e |ilips li|censees.|
|00001030| 20 43 6f 6e 74 61 63 74 | 20 53 6f 6e 79 20 6f 72 | Contact| Sony or|
|00001040| 20 50 68 69 6c 69 70 73 | 20 66 6f 72 20 6c 69 63 | Philips| for lic|
|00001050| 65 6e 73 69 6e 67 20 64 | 65 74 61 69 6c 73 2e 0d |ensing d|etails..|
|00001060| 42 65 67 69 6e 6e 69 6e | 67 20 77 69 74 68 20 76 |Beginnin|g with v|
|00001070| 65 72 73 69 6f 6e 20 34 | 2e 30 20 6f 66 20 74 68 |ersion 4|.0 of th|
|00001080| 65 20 41 70 70 6c 65 20 | 43 44 2d 52 4f 4d 20 73 |e Apple |CD-ROM s|
|00001090| 6f 66 74 77 61 72 65 2c | 20 73 65 76 65 72 61 6c |oftware,| several|
|000010a0| 20 6e 65 77 20 47 65 73 | 74 61 6c 74 20 73 65 6c | new Ges|talt sel|
|000010b0| 65 63 74 6f 72 73 20 61 | 72 65 20 69 6e 73 74 61 |ectors a|re insta|
|000010c0| 6c 6c 65 64 20 62 79 20 | 46 6f 72 65 69 67 6e 20 |lled by |Foreign |
|000010d0| 46 69 6c 65 20 41 63 63 | 65 73 73 20 61 6e 64 20 |File Acc|ess and |
|000010e0| 76 61 72 69 6f 75 73 20 | 66 69 6c 65 20 73 79 73 |various |file sys|
|000010f0| 74 65 6d 20 74 72 61 6e | 73 6c 61 74 6f 72 73 2e |tem tran|slators.|
|00001100| 20 45 61 63 68 20 73 65 | 6c 65 63 74 6f 72 20 69 | Each se|lector i|
|00001110| 73 20 61 20 76 65 72 73 | 69 6f 6e 20 6e 75 6d 62 |s a vers|ion numb|
|00001120| 65 72 2c 20 61 73 20 64 | 65 66 69 6e 65 64 20 69 |er, as d|efined i|
|00001130| 6e 20 49 6e 73 69 64 65 | 20 4d 61 63 69 6e 74 6f |n Inside| Macinto|
|00001140| 73 68 20 76 6f 6c 75 6d | 65 20 56 49 20 70 61 67 |sh volum|e VI pag|
|00001150| 65 20 56 49 2d 33 2d 33 | 34 2e 20 54 68 65 20 6c |e VI-3-3|4. The l|
|00001160| 69 73 74 20 69 6e 63 6c | 75 64 65 73 3a 0d 41 70 |ist incl|udes:.Ap|
|00001170| 70 6c 65 20 50 68 6f 74 | 6f 20 41 63 63 65 73 73 |ple Phot|o Access|
|00001180| 09 6b 70 63 64 09 0d 46 | 6f 72 65 69 67 6e 20 46 |.kpcd..F|oreign F|
|00001190| 69 6c 65 20 41 63 63 65 | 73 73 09 75 66 6f 78 09 |ile Acce|ss.ufox.|
|000011a0| 0d 48 69 67 68 20 53 69 | 65 72 72 61 20 46 69 6c |.High Si|erra Fil|
|000011b0| 65 20 41 63 63 65 73 73 | 09 68 73 63 64 09 0d 49 |e Access|.hscd..I|
|000011c0| 53 4f 20 39 36 36 30 20 | 46 69 6c 65 20 41 63 63 |SO 9660 |File Acc|
|000011d0| 65 73 73 2c 20 76 65 72 | 73 69 6f 6e 20 31 2e 30 |ess, ver|sion 1.0|
|000011e0| 20 74 68 72 6f 75 67 68 | 20 34 2e 30 09 68 73 63 | through| 4.0.hsc|
|000011f0| 64 09 0d 49 53 4f 20 39 | 36 36 30 20 46 69 6c 65 |d..ISO 9|660 File|
|00001200| 20 41 63 63 65 73 73 2c | 20 76 65 72 73 69 6f 6e | Access,| version|
|00001210| 20 35 2e 30 09 69 73 63 | 64 09 0d 41 75 64 69 6f | 5.0.isc|d..Audio|
|00001220| 20 43 44 20 41 63 63 65 | 73 73 09 61 75 63 64 09 | CD Acce|ss.aucd.|
|00001230| 0d 0d 54 6f 20 63 61 6c | 6c 20 74 68 65 20 4d 61 |..To cal|l the Ma|
|00001240| 63 69 6e 74 6f 73 68 20 | 64 72 69 76 65 72 2c 20 |cintosh |driver, |
|00001250| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 75 6e 64 65 |you need| to unde|
|00001260| 72 73 74 61 6e 64 20 74 | 68 65 20 70 6f 73 73 69 |rstand t|he possi|
|00001270| 62 6c 65 20 61 64 64 72 | 65 73 73 69 6e 67 20 66 |ble addr|essing f|
|00001280| 6f 72 6d 61 74 73 20 66 | 6f 72 20 61 75 64 69 6f |ormats f|or audio|
|00001290| 20 62 6c 6f 63 6b 73 20 | 6f 6e 20 61 20 43 44 2e | blocks |on a CD.|
|000012a0| 20 54 68 65 20 74 68 72 | 65 65 20 61 64 64 72 65 | The thr|ee addre|
|000012b0| 73 73 69 6e 67 20 66 6f | 72 6d 61 74 73 20 61 72 |ssing fo|rmats ar|
|000012c0| 65 3a 0d 31 29 20 6c 6f | 67 69 63 61 6c 20 62 6c |e:.1) lo|gical bl|
|000012d0| 6f 63 6b 0d 32 29 20 61 | 62 73 6f 6c 75 74 65 20 |ock.2) a|bsolute |
|000012e0| 6d 69 6e 75 74 65 2c 20 | 73 65 63 6f 6e 64 2c 20 |minute, |second, |
|000012f0| 61 6e 64 20 66 72 61 6d | 65 0d 33 29 20 74 72 61 |and fram|e.3) tra|
|00001300| 63 6b 20 6e 75 6d 62 65 | 72 0d 41 6e 20 61 75 64 |ck numbe|r.An aud|
|00001310| 69 6f 20 43 44 20 63 6f | 6e 74 61 69 6e 73 20 75 |io CD co|ntains u|
|00001320| 70 20 74 6f 20 37 34 20 | 6d 69 6e 75 74 65 73 20 |p to 74 |minutes |
|00001330| 6f 66 20 73 6f 75 6e 64 | 20 28 42 79 20 64 65 63 |of sound| (By dec|
|00001340| 72 65 61 73 69 6e 67 20 | 74 68 65 20 69 6e 74 65 |reasing |the inte|
|00001350| 72 2d 74 72 61 63 6b 20 | 67 61 70 20 61 6e 64 20 |r-track |gap and |
|00001360| 6f 74 68 65 72 20 74 72 | 69 63 6b 73 2c 20 79 6f |other tr|icks, yo|
|00001370| 75 20 63 61 6e 20 70 75 | 74 20 6d 6f 72 65 20 74 |u can pu|t more t|
|00001380| 68 61 6e 20 37 34 20 6d | 69 6e 75 74 65 73 20 6f |han 74 m|inutes o|
|00001390| 66 20 73 6f 75 6e 64 20 | 6f 6e 20 61 20 43 44 2e |f sound |on a CD.|
|000013a0| 20 44 6f 69 6e 67 20 74 | 68 69 73 20 69 73 20 6f | Doing t|his is o|
|000013b0| 6e 6c 79 20 6d 61 72 67 | 69 6e 61 6c 6c 79 20 77 |nly marg|inally w|
|000013c0| 69 74 68 69 6e 20 74 68 | 65 20 73 74 61 6e 64 61 |ithin th|e standa|
|000013d0| 72 64 2e 20 53 75 63 68 | 20 43 44 73 20 6d 61 79 |rd. Such| CDs may|
|000013e0| 20 6e 6f 74 20 62 65 20 | 70 6c 61 79 61 62 6c 65 | not be |playable|
|000013f0| 20 6f 6e 20 61 6c 6c 20 | 64 72 69 76 65 73 2e 29 | on all |drives.)|
|00001400| 2e 20 54 68 65 73 65 20 | 6d 69 6e 75 74 65 73 20 |. These |minutes |
|00001410| 61 72 65 20 64 69 76 69 | 64 65 64 20 69 6e 74 6f |are divi|ded into|
|00001420| 20 36 30 20 73 65 63 6f | 6e 64 73 2e 20 45 61 63 | 60 seco|nds. Eac|
|00001430| 68 20 73 65 63 6f 6e 64 | 20 63 6f 6e 74 61 69 6e |h second| contain|
|00001440| 73 20 37 35 20 66 72 61 | 6d 65 73 2e 20 54 68 65 |s 75 fra|mes. The|
|00001450| 72 65 20 69 73 20 61 20 | 74 77 6f 20 73 65 63 6f |re is a |two seco|
|00001460| 6e 64 20 6c 65 61 64 2d | 69 6e 20 61 72 65 61 20 |nd lead-|in area |
|00001470| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning|
|00001480| 20 6f 66 20 74 68 65 20 | 64 69 73 63 20 77 68 69 | of the |disc whi|
|00001490| 63 68 20 63 6f 6e 74 61 | 69 6e 73 20 74 61 62 6c |ch conta|ins tabl|
|000014a0| 65 20 6f 66 20 63 6f 6e | 74 65 6e 74 73 20 69 6e |e of con|tents in|
|000014b0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|000014c0| 74 68 65 20 74 72 61 63 | 6b 73 20 6f 6e 20 74 68 |the trac|ks on th|
|000014d0| 61 74 20 43 44 2e 20 59 | 6f 75 20 63 61 6e 20 68 |at CD. Y|ou can h|
|000014e0| 61 76 65 20 61 20 6d 61 | 78 69 6d 75 6d 20 6f 66 |ave a ma|ximum of|
|000014f0| 20 39 39 20 74 72 61 63 | 6b 73 20 6f 6e 20 61 20 | 99 trac|ks on a |
|00001500| 43 44 2e 0d 59 6f 75 20 | 63 61 6e 20 61 64 64 72 |CD..You |can addr|
|00001510| 65 73 73 20 73 6f 75 6e | 64 20 64 6f 77 6e 20 74 |ess soun|d down t|
|00001520| 6f 20 74 68 65 20 66 72 | 61 6d 65 20 6c 65 76 65 |o the fr|ame leve|
|00001530| 6c 3b 20 74 68 61 74 20 | 69 73 2c 20 64 6f 77 6e |l; that |is, down|
|00001540| 20 74 6f 20 74 68 65 20 | 31 2f 37 35 74 68 20 6f | to the |1/75th o|
|00001550| 66 20 61 20 73 65 63 6f | 6e 64 2e 20 59 6f 75 20 |f a seco|nd. You |
|00001560| 63 61 6e 20 61 64 64 72 | 65 73 73 20 73 6f 75 6e |can addr|ess soun|
|00001570| 64 20 62 79 20 73 70 65 | 63 69 66 79 69 6e 67 20 |d by spe|cifying |
|00001580| 61 6e 20 61 62 73 6f 6c | 75 74 65 20 62 6c 6f 63 |an absol|ute bloc|
|00001590| 6b 20 6e 75 6d 62 65 72 | 20 28 65 2e 67 2e 2c 20 |k number| (e.g., |
|000015a0| 73 74 61 72 74 20 70 6c | 61 79 69 6e 67 20 61 74 |start pl|aying at|
|000015b0| 20 61 62 73 6f 6c 75 74 | 65 20 62 6c 6f 63 6b 20 | absolut|e block |
|000015c0| 31 2c 32 33 34 2c 35 36 | 37 20 66 72 6f 6d 20 74 |1,234,56|7 from t|
|000015d0| 68 65 20 73 74 61 72 74 | 20 6f 66 20 74 68 65 20 |he start| of the |
|000015e0| 64 69 73 63 29 2c 20 6f | 72 20 62 79 20 61 62 73 |disc), o|r by abs|
|000015f0| 6f 6c 75 74 65 20 6d 69 | 6e 75 74 65 2c 20 73 65 |olute mi|nute, se|
|00001600| 63 6f 6e 64 2c 20 61 6e | 64 20 66 72 61 6d 65 20 |cond, an|d frame |
|00001610| 6e 75 6d 62 65 72 20 28 | 65 2e 67 2e 2c 20 73 74 |number (|e.g., st|
|00001620| 61 72 74 20 70 6c 61 79 | 69 6e 67 20 61 74 20 6d |art play|ing at m|
|00001630| 69 6e 75 74 65 20 34 32 | 2c 20 73 65 63 6f 6e 64 |inute 42|, second|
|00001640| 20 33 30 2c 20 66 72 61 | 6d 65 20 31 35 20 6f 6e | 30, fra|me 15 on|
|00001650| 20 74 68 65 20 64 69 73 | 63 29 20 6f 72 20 62 79 | the dis|c) or by|
|00001660| 20 6c 6f 67 69 63 61 6c | 20 74 72 61 63 6b 20 6e | logical| track n|
|00001670| 75 6d 62 65 72 20 28 65 | 2e 67 2e 2c 20 73 74 61 |umber (e|.g., sta|
|00001680| 72 74 20 70 6c 61 79 69 | 6e 67 20 61 74 20 74 72 |rt playi|ng at tr|
|00001690| 61 63 6b 20 32 2e 29 0d | 54 68 65 20 64 72 69 76 |ack 2.).|The driv|
|000016a0| 65 72 20 72 65 71 75 69 | 72 65 73 20 74 68 61 74 |er requi|res that|
|000016b0| 20 74 68 65 20 6c 6f 67 | 69 63 61 6c 20 74 72 61 | the log|ical tra|
|000016c0| 63 6b 20 6e 75 6d 62 65 | 72 20 6f 72 20 61 62 73 |ck numbe|r or abs|
|000016d0| 6f 6c 75 74 65 20 6d 69 | 6e 75 74 65 2d 73 65 63 |olute mi|nute-sec|
|000016e0| 6f 6e 64 2d 66 72 61 6d | 65 20 6e 75 6d 62 65 72 |ond-fram|e number|
|000016f0| 73 20 62 65 20 73 70 65 | 63 69 66 69 65 64 20 69 |s be spe|cified i|
|00001700| 6e 20 42 43 44 20 28 65 | 2e 67 2e 2c 20 74 68 65 |n BCD (e|.g., the|
|00001710| 20 64 65 63 69 6d 61 6c | 20 6e 75 6d 62 65 72 20 | decimal| number |
|00001720| 31 32 20 69 73 20 73 74 | 6f 72 65 64 20 61 73 20 |12 is st|ored as |
|00001730| 68 65 78 20 30 78 30 30 | 31 32 2c 20 6e 6f 74 20 |hex 0x00|12, not |
|00001740| 61 73 20 30 78 30 30 30 | 43 2e 29 20 0d 4f 70 74 |as 0x000|C.) .Opt|
|00001750| 69 63 61 6c 20 50 6f 73 | 69 74 69 6f 6e 69 6e 67 |ical Pos|itioning|
|00001760| 20 54 79 70 65 0d 4d 61 | 6e 79 20 63 61 6c 6c 73 | Type.Ma|ny calls|
|00001770| 20 72 65 71 75 69 72 65 | 20 61 6e 20 6f 70 74 69 | require| an opti|
|00001780| 63 61 6c 20 70 69 63 6b | 2d 75 70 20 70 6f 73 69 |cal pick|-up posi|
|00001790| 74 69 6f 6e 69 6e 67 20 | 74 79 70 65 2e 20 54 68 |tioning |type. Th|
|000017a0| 69 73 20 69 73 20 75 73 | 65 64 20 74 6f 20 73 70 |is is us|ed to sp|
|000017b0| 65 63 69 66 79 20 77 68 | 61 74 20 6b 69 6e 64 20 |ecify wh|at kind |
|000017c0| 6f 66 20 61 64 64 72 65 | 73 73 20 69 73 20 62 65 |of addre|ss is be|
|000017d0| 69 6e 67 20 75 73 65 64 | 20 69 6e 20 6f 74 68 65 |ing used| in othe|
|000017e0| 72 20 70 61 72 61 6d 65 | 74 65 72 73 20 6f 66 20 |r parame|ters of |
|000017f0| 61 20 67 69 76 65 6e 20 | 63 61 6c 6c 2e 20 54 68 |a given |call. Th|
|00001800| 65 72 65 20 61 72 65 20 | 74 68 72 65 65 20 64 69 |ere are |three di|
|00001810| 66 66 65 72 65 6e 74 20 | 6f 70 74 69 63 61 6c 20 |fferent |optical |
|00001820| 70 69 63 6b 2d 75 70 20 | 70 6f 73 69 74 69 6f 6e |pick-up |position|
|00001830| 69 6e 67 20 74 79 70 65 | 73 3a 0d 54 79 70 65 09 |ing type|s:.Type.|
|00001840| 44 65 73 63 72 69 70 74 | 69 6f 6e 09 0d 30 78 30 |Descript|ion..0x0|
|00001850| 30 30 30 09 33 32 2d 62 | 69 74 20 4c 6f 67 69 63 |000.32-b|it Logic|
|00001860| 61 6c 20 42 6c 6f 63 6b | 20 41 64 64 72 65 73 73 |al Block| Address|
|00001870| 09 0d 30 78 30 30 30 31 | 09 41 6e 20 41 4d 49 4e |..0x0001|.An AMIN|
|00001880| 2d 41 53 45 43 2d 41 46 | 52 41 4d 45 20 64 65 73 |-ASEC-AF|RAME des|
|00001890| 63 72 69 70 74 6f 72 20 | 74 68 61 74 20 67 69 76 |criptor |that giv|
|000018a0| 65 73 20 74 68 65 20 72 | 75 6e 6e 69 6e 67 20 74 |es the r|unning t|
|000018b0| 69 6d 65 20 66 72 6f 6d | 20 74 68 65 20 62 65 67 |ime from| the beg|
|000018c0| 69 6e 6e 69 6e 67 20 6f | 66 20 74 68 65 20 64 69 |inning o|f the di|
|000018d0| 73 63 20 28 69 6e 20 42 | 43 44 29 09 0d 30 78 30 |sc (in B|CD)..0x0|
|000018e0| 30 30 32 09 41 20 74 72 | 61 63 6b 20 6e 75 6d 62 |002.A tr|ack numb|
|000018f0| 65 72 20 28 69 6e 20 42 | 43 44 29 09 0d 0d 54 72 |er (in B|CD)...Tr|
|00001900| 61 63 6b 20 43 6f 6e 74 | 72 6f 6c 20 46 69 65 6c |ack Cont|rol Fiel|
|00001910| 64 0d 4d 61 6e 79 20 63 | 61 6c 6c 73 20 72 65 74 |d.Many c|alls ret|
|00001920| 75 72 6e 20 61 20 63 6f | 6e 74 72 6f 6c 20 66 69 |urn a co|ntrol fi|
|00001930| 65 6c 64 2e 20 54 68 69 | 73 20 66 69 65 6c 64 20 |eld. Thi|s field |
|00001940| 64 65 73 63 72 69 62 65 | 73 20 74 68 65 20 66 6f |describe|s the fo|
|00001950| 72 6d 61 74 20 6f 66 20 | 74 68 65 20 63 75 72 72 |rmat of |the curr|
|00001960| 65 6e 74 20 74 72 61 63 | 6b 2c 20 61 6e 64 20 68 |ent trac|k, and h|
|00001970| 61 73 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |as the f|ollowing|
|00001980| 20 76 61 6c 75 65 73 3a | 0d 42 69 74 73 09 09 0d | values:|.Bits...|
|00001990| 33 32 31 30 09 46 75 6e | 63 74 69 6f 6e 09 0d 30 |3210.Fun|ction..0|
|000019a0| 30 78 30 09 32 20 61 75 | 64 69 6f 20 63 68 61 6e |0x0.2 au|dio chan|
|000019b0| 6e 65 6c 73 20 77 69 74 | 68 6f 75 74 20 70 72 65 |nels wit|hout pre|
|000019c0| 2d 65 6d 70 68 61 73 69 | 73 09 0d 30 30 78 31 09 |-emphasi|s..00x1.|
|000019d0| 32 20 61 75 64 69 6f 20 | 63 68 61 6e 6e 65 6c 73 |2 audio |channels|
|000019e0| 20 77 69 74 68 20 70 72 | 65 2d 65 6d 70 68 61 73 | with pr|e-emphas|
|000019f0| 69 73 09 0d 31 30 78 30 | 09 34 20 61 75 64 69 6f |is..10x0|.4 audio|
|00001a00| 20 63 68 61 6e 6e 65 6c | 73 20 77 69 74 68 6f 75 | channel|s withou|
|00001a10| 74 20 70 72 65 2d 65 6d | 70 68 61 73 69 73 09 0d |t pre-em|phasis..|
|00001a20| 31 30 78 31 09 34 20 61 | 75 64 69 6f 20 63 68 61 |10x1.4 a|udio cha|
|00001a30| 6e 6e 65 6c 73 20 77 69 | 74 68 20 70 72 65 2d 65 |nnels wi|th pre-e|
|00001a40| 6d 70 68 61 73 69 73 09 | 0d 30 31 78 30 09 64 61 |mphasis.|.01x0.da|
|00001a50| 74 61 20 74 72 61 63 6b | 09 0d 30 31 78 31 09 72 |ta track|..01x1.r|
|00001a60| 65 73 65 72 76 65 64 09 | 0d 31 31 78 78 09 72 65 |eserved.|.11xx.re|
|00001a70| 73 65 72 76 65 64 09 0d | 78 78 30 78 09 64 69 67 |served..|xx0x.dig|
|00001a80| 69 74 61 6c 20 63 6f 70 | 79 20 70 72 6f 68 69 62 |ital cop|y prohib|
|00001a90| 69 74 65 64 09 0d 78 78 | 31 78 09 64 69 67 69 74 |ited..xx|1x.digit|
|00001aa0| 61 6c 20 63 6f 70 79 20 | 70 65 72 6d 69 74 74 65 |al copy |permitte|
|00001ab0| 64 09 0d 0d 41 75 64 69 | 6f 20 50 6c 61 79 20 4d |d...Audi|o Play M|
|00001ac0| 6f 64 65 0d 4d 61 6e 79 | 20 63 61 6c 6c 73 20 72 |ode.Many| calls r|
|00001ad0| 65 71 75 69 72 65 20 61 | 20 70 6c 61 79 20 6d 6f |equire a| play mo|
|00001ae0| 64 65 2e 20 54 68 69 73 | 20 66 69 65 6c 64 20 64 |de. This| field d|
|00001af0| 65 73 63 72 69 62 65 73 | 20 68 6f 77 20 74 6f 20 |escribes| how to |
|00001b00| 70 6c 61 79 20 74 68 65 | 20 61 75 64 69 6f 20 74 |play the| audio t|
|00001b10| 72 61 63 6b 2e 20 54 68 | 69 73 20 66 69 65 6c 64 |rack. Th|is field|
|00001b20| 20 68 61 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 | has the| followi|
|00001b30| 6e 67 20 76 61 6c 75 65 | 73 3a 0d 42 69 74 73 09 |ng value|s:.Bits.|
|00001b40| 09 0d 33 32 31 30 09 45 | 66 66 65 63 74 09 0d 30 |..3210.E|ffect..0|
|00001b50| 30 30 30 09 4d 75 74 69 | 6e 67 20 6f 6e 20 28 6e |000.Muti|ng on (n|
|00001b60| 6f 20 61 75 64 69 6f 29 | 09 0d 30 30 30 31 09 52 |o audio)|..0001.R|
|00001b70| 69 67 68 74 20 63 68 61 | 6e 6e 65 6c 20 74 68 72 |ight cha|nnel thr|
|00001b80| 6f 75 67 68 20 72 69 67 | 68 74 20 63 68 61 6e 6e |ough rig|ht chann|
|00001b90| 65 6c 20 6f 6e 6c 79 09 | 0d 30 30 31 30 09 4c 65 |el only.|.0010.Le|
|00001ba0| 66 74 20 63 68 61 6e 6e | 65 6c 20 74 68 72 6f 75 |ft chann|el throu|
|00001bb0| 67 68 20 72 69 67 68 74 | 20 63 68 61 6e 6e 65 6c |gh right| channel|
|00001bc0| 20 6f 6e 6c 79 09 0d 30 | 30 31 31 09 4c 65 66 74 | only..0|011.Left|
|00001bd0| 20 61 6e 64 20 72 69 67 | 68 74 20 63 68 61 6e 6e | and rig|ht chann|
|00001be0| 65 6c 20 74 68 72 6f 75 | 67 68 20 72 69 67 68 74 |el throu|gh right|
|00001bf0| 20 63 68 61 6e 6e 65 6c | 20 6f 6e 6c 79 2a 09 0d | channel| only*..|
|00001c00| 30 31 30 30 09 52 69 67 | 68 74 20 63 68 61 6e 6e |0100.Rig|ht chann|
|00001c10| 65 6c 20 74 68 72 6f 75 | 67 68 20 6c 65 66 74 20 |el throu|gh left |
|00001c20| 63 68 61 6e 6e 65 6c 20 | 6f 6e 6c 79 09 0d 30 31 |channel |only..01|
|00001c30| 30 31 09 52 69 67 68 74 | 20 63 68 61 6e 6e 65 6c |01.Right| channel|
|00001c40| 20 74 68 72 6f 75 67 68 | 20 6c 65 66 74 20 61 6e | through| left an|
|00001c50| 64 20 72 69 67 68 74 20 | 63 68 61 6e 6e 65 6c 09 |d right |channel.|
|00001c60| 0d 30 31 31 30 09 52 69 | 67 68 74 20 63 68 61 6e |.0110.Ri|ght chan|
|00001c70| 6e 65 6c 20 74 68 72 6f | 75 67 68 20 6c 65 66 74 |nel thro|ugh left|
|00001c80| 20 63 68 61 6e 6e 65 6c | 2c 20 6c 65 66 74 20 63 | channel|, left c|
|00001c90| 68 61 6e 6e 65 6c 20 74 | 68 72 6f 75 67 68 20 72 |hannel t|hrough r|
|00001ca0| 69 67 68 74 20 63 68 61 | 6e 6e 65 6c 09 0d 30 31 |ight cha|nnel..01|
|00001cb0| 31 31 09 52 69 67 68 74 | 20 63 68 61 6e 6e 65 6c |11.Right| channel|
|00001cc0| 20 74 68 72 6f 75 67 68 | 20 6c 65 66 74 20 63 68 | through| left ch|
|00001cd0| 61 6e 6e 65 6c 2c 20 6c | 65 66 74 20 61 6e 64 20 |annel, l|eft and |
|00001ce0| 72 69 67 68 74 20 63 68 | 61 6e 6e 65 6c 20 74 68 |right ch|annel th|
|00001cf0| 72 6f 75 67 68 20 72 69 | 67 68 74 20 63 68 61 6e |rough ri|ght chan|
|00001d00| 6e 65 6c 2a 09 0d 31 30 | 30 30 09 4c 65 66 74 20 |nel*..10|00.Left |
|00001d10| 63 68 61 6e 6e 65 6c 20 | 74 68 72 6f 75 67 68 20 |channel |through |
|00001d20| 6c 65 66 74 20 63 68 61 | 6e 6e 65 6c 20 6f 6e 6c |left cha|nnel onl|
|00001d30| 79 09 0d 31 30 30 31 09 | 6c 65 66 74 20 63 68 61 |y..1001.|left cha|
|00001d40| 6e 6e 65 6c 20 74 68 72 | 6f 75 67 68 20 6c 65 66 |nnel thr|ough lef|
|00001d50| 74 20 63 68 61 6e 6e 65 | 6c 2c 20 72 69 67 68 74 |t channe|l, right|
|00001d60| 20 63 68 61 6e 6e 65 6c | 20 74 68 72 6f 75 67 68 | channel| through|
|00001d70| 20 72 69 67 68 74 20 63 | 68 61 6e 6e 65 6c 20 28 | right c|hannel (|
|00001d80| 73 74 65 72 65 6f 29 09 | 0d 31 30 31 30 09 4c 65 |stereo).|.1010.Le|
|00001d90| 66 74 20 63 68 61 6e 6e | 65 6c 20 74 68 72 6f 75 |ft chann|el throu|
|00001da0| 67 68 20 6c 65 66 74 20 | 61 6e 64 20 72 69 67 68 |gh left |and righ|
|00001db0| 74 20 63 68 61 6e 6e 65 | 6c 09 0d 31 30 31 31 09 |t channe|l..1011.|
|00001dc0| 4c 65 66 74 20 63 68 61 | 6e 6e 65 6c 20 74 68 72 |Left cha|nnel thr|
|00001dd0| 6f 75 67 68 20 6c 65 66 | 74 20 63 68 61 6e 6e 65 |ough lef|t channe|
|00001de0| 6c 2c 20 6c 65 66 74 20 | 61 6e 64 20 72 69 67 68 |l, left |and righ|
|00001df0| 74 20 63 68 61 6e 6e 65 | 6c 20 74 68 72 6f 75 67 |t channe|l throug|
|00001e00| 68 20 72 69 67 68 74 20 | 63 68 61 6e 6e 65 6c 2a |h right |channel*|
|00001e10| 09 0d 31 31 30 30 09 4c | 65 66 74 20 61 6e 64 20 |..1100.L|eft and |
|00001e20| 72 69 67 68 74 20 63 68 | 61 6e 6e 65 6c 20 74 68 |right ch|annel th|
|00001e30| 72 6f 75 67 68 20 6c 65 | 66 74 20 63 68 61 6e 6e |rough le|ft chann|
|00001e40| 65 6c 2a 09 0d 31 31 30 | 31 09 4c 65 66 74 20 61 |el*..110|1.Left a|
|00001e50| 6e 64 20 72 69 67 68 74 | 20 63 68 61 6e 6e 65 6c |nd right| channel|
|00001e60| 20 74 68 72 6f 75 67 68 | 20 6c 65 66 74 20 63 68 | through| left ch|
|00001e70| 61 6e 6e 65 6c 2c 20 72 | 69 67 68 74 20 63 68 61 |annel, r|ight cha|
|00001e80| 6e 6e 65 6c 20 74 68 72 | 6f 75 67 68 20 72 69 67 |nnel thr|ough rig|
|00001e90| 68 74 20 63 68 61 6e 6e | 65 6c 2a 09 0d 31 31 31 |ht chann|el*..111|
|00001ea0| 30 09 4c 65 66 74 20 61 | 6e 64 20 72 69 67 68 74 |0.Left a|nd right|
|00001eb0| 20 63 68 61 6e 6e 65 6c | 20 74 68 72 6f 75 67 68 | channel| through|
|00001ec0| 20 6c 65 66 74 20 63 68 | 61 6e 6e 65 6c 2c 20 6c | left ch|annel, l|
|00001ed0| 65 66 74 20 63 68 61 6e | 6e 65 6c 20 74 68 72 6f |eft chan|nel thro|
|00001ee0| 75 67 68 20 72 69 67 68 | 74 20 63 68 61 6e 6e 65 |ugh righ|t channe|
|00001ef0| 6c 2a 09 0d 31 31 31 31 | 09 4c 65 66 74 20 61 6e |l*..1111|.Left an|
|00001f00| 64 20 72 69 67 68 74 20 | 63 68 61 6e 6e 65 6c 20 |d right |channel |
|00001f10| 74 68 72 6f 75 67 68 20 | 6c 65 66 74 20 63 68 61 |through |left cha|
|00001f20| 6e 6e 65 6c 2c 20 6c 65 | 66 74 20 61 6e 64 20 72 |nnel, le|ft and r|
|00001f30| 69 67 68 74 20 63 68 61 | 6e 6e 65 6c 20 74 68 72 |ight cha|nnel thr|
|00001f40| 6f 75 67 68 20 72 69 67 | 68 74 20 63 68 61 6e 6e |ough rig|ht chann|
|00001f50| 65 6c 20 28 6d 6f 6e 61 | 75 72 61 6c 29 2a 09 0d |el (mona|ural)*..|
|00001f60| 2a 4e 6f 74 20 61 76 61 | 69 6c 61 62 6c 65 20 6f |*Not ava|ilable o|
|00001f70| 6e 20 41 70 70 6c 65 43 | 44 20 33 30 30 20 50 6c |n AppleC|D 300 Pl|
|00001f80| 75 73 09 09 0d 0d 49 6e | 20 74 68 65 20 61 62 73 |us....In| the abs|
|00001f90| 6f 6c 75 74 65 20 6d 69 | 6e 75 74 65 2d 73 65 63 |olute mi|nute-sec|
|00001fa0| 6f 6e 64 2d 66 72 61 6d | 65 20 61 64 64 72 65 73 |ond-fram|e addres|
|00001fb0| 73 2c 20 74 68 65 20 72 | 61 6e 67 65 73 20 61 72 |s, the r|anges ar|
|00001fc0| 65 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 0d 09 4d |e as fol|lows:..M|
|00001fd0| 69 6e 75 74 65 73 09 30 | 30 20 74 6f 20 39 39 20 |inutes.0|0 to 99 |
|00001fe0| 28 65 66 66 65 63 74 69 | 76 65 6c 79 2c 20 66 72 |(effecti|vely, fr|
|00001ff0| 6f 6d 20 30 30 20 74 6f | 20 37 35 29 0d 09 53 65 |om 00 to| 75)..Se|
|00002000| 63 6f 6e 64 73 09 30 30 | 20 74 6f 20 35 39 0d 09 |conds.00| to 59..|
|00002010| 46 72 61 6d 65 73 09 30 | 30 20 74 6f 20 37 34 0d |Frames.0|0 to 74.|
|00002020| 4d 61 6b 69 6e 67 20 61 | 20 48 69 67 68 20 4c 65 |Making a| High Le|
|00002030| 76 65 6c 20 44 72 69 76 | 65 72 20 43 61 6c 6c 0d |vel Driv|er Call.|
|00002040| 54 68 65 20 41 70 70 6c | 65 20 43 44 2d 52 4f 4d |The Appl|e CD-ROM|
|00002050| 20 64 72 69 76 65 72 20 | 64 6f 65 73 20 6e 6f 74 | driver |does not|
|00002060| 20 63 6f 6e 66 6f 72 6d | 20 74 6f 20 74 68 65 20 | conform| to the |
|00002070| 6e 6f 72 6d 61 6c 20 64 | 65 73 69 67 6e 20 6f 66 |normal d|esign of|
|00002080| 20 61 20 64 72 69 76 65 | 72 2e 20 49 6e 20 70 61 | a drive|r. In pa|
|00002090| 72 74 69 63 75 6c 61 72 | 2c 20 74 68 65 20 41 70 |rticular|, the Ap|
|000020a0| 70 6c 65 20 43 44 2d 52 | 4f 4d 20 64 72 69 76 65 |ple CD-R|OM drive|
|000020b0| 72 20 75 73 65 73 20 53 | 74 61 74 75 73 20 63 61 |r uses S|tatus ca|
|000020c0| 6c 6c 73 20 74 6f 20 63 | 68 61 6e 67 65 20 63 6f |lls to c|hange co|
|000020d0| 6e 74 72 6f 6c 20 73 65 | 74 74 69 6e 67 73 20 6f |ntrol se|ttings o|
|000020e0| 66 20 74 68 65 20 64 65 | 76 69 63 65 2c 20 61 6e |f the de|vice, an|
|000020f0| 64 20 75 73 65 73 20 43 | 6f 6e 74 72 6f 6c 20 63 |d uses C|ontrol c|
|00002100| 61 6c 6c 73 20 74 6f 20 | 67 65 74 20 73 74 61 74 |alls to |get stat|
|00002110| 75 73 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 66 |us infor|mation f|
|00002120| 72 6f 6d 20 74 68 65 20 | 64 65 76 69 63 65 2e 20 |rom the |device. |
|00002130| 54 68 65 20 68 69 67 68 | 2d 6c 65 76 65 6c 20 43 |The high|-level C|
|00002140| 6f 6e 74 72 6f 6c 20 61 | 6e 64 20 53 74 61 74 75 |ontrol a|nd Statu|
|00002150| 73 20 63 61 6c 6c 73 20 | 77 65 72 65 6e d5 74 20 |s calls |weren.t |
|00002160| 64 65 73 69 67 6e 65 64 | 20 77 69 74 68 20 74 68 |designed| with th|
|00002170| 69 73 20 69 6e 20 6d 69 | 6e 64 2e 20 54 68 65 20 |is in mi|nd. The |
|00002180| 67 6c 75 65 20 66 6f 72 | 20 43 6f 6e 74 72 6f 6c |glue for| Control|
|00002190| 20 64 6f 65 73 20 6e 6f | 74 20 66 69 6c 6c 20 69 | does no|t fill i|
|000021a0| 6e 20 74 68 65 20 63 73 | 50 61 72 61 6d 50 74 72 |n the cs|ParamPtr|
|000021b0| 20 66 69 65 6c 64 20 77 | 69 74 68 20 74 68 65 20 | field w|ith the |
|000021c0| 72 65 73 75 6c 74 73 20 | 6f 66 20 61 6e 79 20 63 |results |of any c|
|000021d0| 68 61 6e 67 65 73 20 64 | 75 65 20 74 6f 20 61 20 |hanges d|ue to a |
|000021e0| 43 6f 6e 74 72 6f 6c 20 | 63 61 6c 6c 2c 20 61 6e |Control |call, an|
|000021f0| 64 20 74 68 65 20 67 6c | 75 65 20 66 6f 72 20 53 |d the gl|ue for S|
|00002200| 74 61 74 75 73 20 64 6f | 65 73 20 6e 6f 74 20 75 |tatus do|es not u|
|00002210| 73 65 20 74 68 65 20 63 | 73 50 61 72 61 6d 20 66 |se the c|sParam f|
|00002220| 69 65 6c 64 20 70 61 73 | 73 65 64 20 69 6e 20 61 |ield pas|sed in a|
|00002230| 73 20 70 61 72 74 20 6f | 66 20 74 68 65 20 63 61 |s part o|f the ca|
|00002240| 6c 6c 20 69 74 20 63 72 | 65 61 74 65 73 20 6f 6e |ll it cr|eates on|
|00002250| 20 74 68 65 20 73 74 61 | 63 6b 2e 20 44 6f 20 6e | the sta|ck. Do n|
|00002260| 6f 74 20 75 73 65 20 68 | 69 67 68 20 6c 65 76 65 |ot use h|igh leve|
|00002270| 6c 20 43 6f 6e 74 72 6f | 6c 20 61 6e 64 20 53 74 |l Contro|l and St|
|00002280| 61 74 75 73 20 63 61 6c | 6c 73 20 74 6f 20 61 63 |atus cal|ls to ac|
|00002290| 63 65 73 73 20 74 68 65 | 20 41 70 70 6c 65 20 43 |cess the| Apple C|
|000022a0| 44 2d 52 4f 4d 20 64 72 | 69 76 65 72 2e 0d 4d 61 |D-ROM dr|iver..Ma|
|000022b0| 6b 69 6e 67 20 61 20 4c | 6f 77 20 4c 65 76 65 6c |king a L|ow Level|
|000022c0| 20 44 72 69 76 65 72 20 | 43 61 6c 6c 0d 54 68 65 | Driver |Call.The|
|000022d0| 20 6c 6f 77 2d 6c 65 76 | 65 6c 20 63 61 6c 6c 73 | low-lev|el calls|
|000022e0| 20 72 65 71 75 69 72 65 | 20 74 68 61 74 20 79 6f | require| that yo|
|000022f0| 75 20 70 61 73 73 20 69 | 6e 20 74 77 6f 20 70 61 |u pass i|n two pa|
|00002300| 72 61 6d 65 74 65 72 73 | 3b 20 61 20 70 6f 69 6e |rameters|; a poin|
|00002310| 74 65 72 20 74 6f 20 61 | 20 70 61 72 61 6d 65 74 |ter to a| paramet|
|00002320| 65 72 20 62 6c 6f 63 6b | 20 61 6e 64 20 61 20 66 |er block| and a f|
|00002330| 6c 61 67 20 69 6e 64 69 | 63 61 74 69 6e 67 20 73 |lag indi|cating s|
|00002340| 79 6e 63 68 72 6f 6e 6f | 75 73 20 6f 72 20 61 73 |ynchrono|us or as|
|00002350| 79 6e 63 68 72 6f 6e 6f | 75 73 20 63 6f 6d 70 6c |ynchrono|us compl|
|00002360| 65 74 69 6f 6e 2e 20 46 | 6f 72 20 6e 6f 77 2c 20 |etion. F|or now, |
|00002370| 74 68 65 20 64 72 69 76 | 65 72 20 61 6c 77 61 79 |the driv|er alway|
|00002380| 73 20 69 73 20 73 79 6e | 63 68 72 6f 6e 6f 75 73 |s is syn|chronous|
|00002390| 2c 20 73 6f 20 61 6c 77 | 61 79 73 20 70 61 73 73 |, so alw|ays pass|
|000023a0| 20 66 61 6c 73 65 20 61 | 73 20 74 68 65 20 73 65 | false a|s the se|
|000023b0| 63 6f 6e 64 20 70 61 72 | 61 6d 65 74 65 72 2e 20 |cond par|ameter. |
|000023c0| 59 6f 75 20 6d 75 73 74 | 20 66 69 6c 6c 20 69 6e |You must| fill in|
|000023d0| 20 74 68 65 20 70 61 72 | 61 6d 65 74 65 72 20 62 | the par|ameter b|
|000023e0| 6c 6f 63 6b 20 79 6f 75 | 72 73 65 6c 66 2e 20 59 |lock you|rself. Y|
|000023f0| 6f 75 20 6d 61 79 20 66 | 69 6e 64 20 69 74 20 65 |ou may f|ind it e|
|00002400| 61 73 69 65 72 20 74 6f | 20 64 65 66 69 6e 65 20 |asier to| define |
|00002410| 79 6f 75 72 20 6f 77 6e | 20 63 75 73 74 6f 6d 20 |your own| custom |
|00002420| 70 61 72 61 6d 65 74 65 | 72 20 62 6c 6f 63 6b 20 |paramete|r block |
|00002430| 76 61 72 69 61 6e 74 73 | 20 66 6f 72 20 74 68 65 |variants| for the|
|00002440| 20 76 61 72 69 6f 75 73 | 20 63 61 6c 6c 73 2e 20 | various| calls. |
|00002450| 53 6f 6d 65 20 65 78 61 | 6d 70 6c 65 20 4d 50 57 |Some exa|mple MPW|
|00002460| 20 43 20 63 6f 64 65 20 | 74 6f 20 67 65 74 20 61 | C code |to get a|
|00002470| 75 64 69 6f 20 73 74 61 | 74 75 73 20 69 6e 66 6f |udio sta|tus info|
|00002480| 72 6d 61 74 69 6f 6e 20 | 69 73 20 61 73 20 66 6f |rmation |is as fo|
|00002490| 6c 6c 6f 77 73 3a 0d 23 | 69 6e 63 6c 75 64 65 20 |llows:.#|include |
|000024a0| 3c 44 65 76 69 63 65 73 | 2e 68 3e 0d 73 68 6f 72 |<Devices|.h>.shor|
|000024b0| 74 09 64 72 76 52 65 66 | 4e 75 6d 3b 09 09 2f 2a |t.drvRef|Num;../*|
|000024c0| 20 73 65 74 20 75 70 20 | 73 6f 6d 65 77 68 65 72 | set up |somewher|
|000024d0| 65 20 65 6c 73 65 20 2a | 2f 0d 2f 2a 20 74 68 69 |e else *|/./* thi|
|000024e0| 73 20 69 73 20 61 20 63 | 75 73 74 6f 6d 20 76 65 |s is a c|ustom ve|
|000024f0| 72 73 69 6f 6e 20 6f 66 | 20 74 68 65 20 43 6e 74 |rsion of| the Cnt|
|00002500| 72 6c 50 61 72 61 6d 20 | 70 61 72 61 6d 65 74 65 |rlParam |paramete|
|00002510| 72 0d 2a 2a 20 62 6c 6f | 63 6b 20 64 65 66 69 6e |r.** blo|ck defin|
|00002520| 65 64 20 6f 6e 20 70 61 | 67 65 20 49 49 2d 31 38 |ed on pa|ge II-18|
|00002530| 31 20 61 6e 64 20 49 49 | 2d 31 38 33 20 6f 72 20 |1 and II|-183 or |
|00002540| 69 6e 0d 2a 2a 20 44 65 | 76 69 63 65 73 2e 68 0d |in.** De|vices.h.|
|00002550| 2a 2f 0d 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |*/.typed|ef struc|
|00002560| 74 20 7b 0d 09 51 45 6c | 65 6d 50 74 72 09 71 4c |t {..QEl|emPtr.qL|
|00002570| 69 6e 6b 3b 0d 09 69 6e | 74 09 09 71 54 79 70 65 |ink;..in|t..qType|
|00002580| 3b 0d 09 69 6e 74 09 09 | 69 6f 54 72 61 70 3b 0d |;..int..|ioTrap;.|
|00002590| 09 50 74 72 09 09 69 6f | 43 6d 64 41 64 64 72 3b |.Ptr..io|CmdAddr;|
|000025a0| 0d 09 50 72 6f 63 50 74 | 72 09 69 6f 43 6f 6d 70 |..ProcPt|r.ioComp|
|000025b0| 6c 65 74 69 6f 6e 3b 0d | 09 4f 73 45 72 72 09 09 |letion;.|.OsErr..|
|000025c0| 69 6f 52 65 73 75 6c 74 | 3b 0d 09 53 74 72 69 6e |ioResult|;..Strin|
|000025d0| 67 50 74 72 09 69 6f 4e | 61 6d 65 50 74 72 3b 0d |gPtr.ioN|amePtr;.|
|000025e0| 09 69 6e 74 09 09 69 6f | 56 52 65 66 4e 75 6d 3b |.int..io|VRefNum;|
|000025f0| 0d 09 69 6e 74 09 09 69 | 6f 52 65 66 4e 75 6d 3b |..int..i|oRefNum;|
|00002600| 0d 09 69 6e 74 09 09 63 | 73 43 6f 64 65 3b 0d 2f |..int..c|sCode;./|
|00002610| 2a 20 45 76 65 72 79 74 | 68 69 6e 67 20 62 65 6c |* Everyt|hing bel|
|00002620| 6f 77 20 74 68 69 73 20 | 72 65 70 6c 61 63 65 73 |ow this |replaces|
|00002630| 3a 20 73 68 6f 72 74 20 | 63 73 50 61 72 61 6d 5b |: short |csParam[|
|00002640| 31 31 5d 20 2a 2f 0d 09 | 75 6e 73 69 67 6e 65 64 |11] */..|unsigned|
|00002650| 20 63 68 61 72 09 73 74 | 61 74 75 73 3b 0d 09 75 | char.st|atus;..u|
|00002660| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 09 70 6c 61 |nsigned |char.pla|
|00002670| 79 3b 0d 09 75 6e 73 69 | 67 6e 65 64 20 63 68 61 |y;..unsi|gned cha|
|00002680| 72 09 63 6f 6e 74 72 6f | 6c 3b 0d 09 75 6e 73 69 |r.contro|l;..unsi|
|00002690| 67 6e 65 64 20 63 68 61 | 72 09 6d 69 6e 75 74 65 |gned cha|r.minute|
|000026a0| 3b 0d 09 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |;..unsig|ned char|
|000026b0| 09 73 65 63 6f 6e 64 3b | 0d 09 75 6e 73 69 67 6e |.second;|..unsign|
|000026c0| 65 64 20 63 68 61 72 09 | 66 72 61 6d 65 3b 0d 09 |ed char.|frame;..|
|000026d0| 63 68 61 72 09 75 6e 75 | 73 65 64 5b 31 36 5d 3b |char.unu|sed[16];|
|000026e0| 09 09 2f 2a 20 66 6f 72 | 20 74 68 65 20 72 65 73 |../* for| the res|
|000026f0| 74 20 2a 2f 0d 7d 20 43 | 44 43 6e 74 72 6c 50 61 |t */.} C|DCntrlPa|
|00002700| 72 61 6d 3b 0d 2f 2a 0d | 2a 2a 20 47 65 74 41 75 |ram;./*.|** GetAu|
|00002710| 64 69 6f 53 74 75 66 66 | 0d 2a 2a 09 72 65 71 75 |dioStuff|.**.requ|
|00002720| 69 72 65 73 20 6f 6e 65 | 20 69 6e 70 75 74 2c 20 |ires one| input, |
|00002730| 74 68 65 20 64 72 69 76 | 65 72 20 72 65 66 65 72 |the driv|er refer|
|00002740| 65 6e 63 65 20 6e 75 6d | 62 65 72 20 74 68 61 74 |ence num|ber that|
|00002750| 20 77 65 0d 2a 2a 09 67 | 6f 74 20 62 79 20 63 61 | we.**.g|ot by ca|
|00002760| 6c 6c 69 6e 67 20 50 42 | 4f 70 65 6e 28 29 2e 0d |lling PB|Open()..|
|00002770| 2a 2a 09 66 69 6c 6c 73 | 20 69 6e 20 73 69 78 20 |**.fills| in six |
|00002780| 70 61 72 61 6d 65 74 65 | 72 73 20 77 69 74 68 20 |paramete|rs with |
|00002790| 61 70 70 72 6f 70 72 69 | 61 74 65 20 69 6e 66 6f |appropri|ate info|
|000027a0| 72 6d 61 74 69 6f 6e 0d | 2a 2a 09 66 72 6f 6d 20 |rmation.|**.from |
|000027b0| 74 68 65 20 64 72 69 76 | 65 72 20 63 61 6c 6c 2e |the driv|er call.|
|000027c0| 0d 2a 2a 09 57 65 d5 72 | 65 20 61 73 73 75 6d 69 |.**.We.r|e assumi|
|000027d0| 6e 67 20 74 68 61 74 20 | 6f 6e 6c 79 20 6f 6e 65 |ng that |only one|
|000027e0| 20 43 44 20 70 6c 61 79 | 65 72 20 69 73 20 61 74 | CD play|er is at|
|000027f0| 74 61 63 68 65 64 2e 0d | 2a 2a 09 54 6f 20 67 65 |tached..|**.To ge|
|00002800| 6e 65 72 61 6c 69 7a 65 | 20 74 68 69 73 20 63 6f |neralize| this co|
|00002810| 64 65 2c 20 66 69 6c 6c | 20 69 6e 20 74 68 65 20 |de, fill| in the |
|00002820| 69 6f 56 52 65 66 4e 75 | 6d 20 64 79 6e 61 6d 69 |ioVRefNu|m dynami|
|00002830| 63 61 6c 6c 79 2e 0d 2a | 2f 0d 4f 53 45 72 72 0d |cally..*|/.OSErr.|
|00002840| 47 65 74 41 75 64 69 6f | 53 74 75 66 66 28 73 74 |GetAudio|Stuff(st|
|00002850| 61 74 75 73 2c 20 70 6c | 61 79 2c 20 63 6f 6e 74 |atus, pl|ay, cont|
|00002860| 72 6f 6c 2c 20 6d 69 6e | 75 74 65 2c 20 73 65 63 |rol, min|ute, sec|
|00002870| 6f 6e 64 2c 20 66 72 61 | 6d 65 29 0d 75 6e 73 69 |ond, fra|me).unsi|
|00002880| 67 6e 65 64 20 63 68 61 | 72 09 2a 73 74 61 74 75 |gned cha|r.*statu|
|00002890| 73 2c 20 2a 70 6c 61 79 | 2c 20 2a 63 6f 6e 74 72 |s, *play|, *contr|
|000028a0| 6f 6c 2c 20 2a 6d 69 6e | 75 74 65 2c 20 2a 73 65 |ol, *min|ute, *se|
|000028b0| 63 6f 6e 64 2c 20 2a 66 | 72 61 6d 65 3b 0d 7b 0d |cond, *f|rame;.{.|
|000028c0| 09 4f 53 45 72 72 09 72 | 65 73 75 6c 74 3b 0d 09 |.OSErr.r|esult;..|
|000028d0| 43 44 43 6e 74 72 6c 50 | 61 72 61 6d 09 6d 79 50 |CDCntrlP|aram.myP|
|000028e0| 42 3b 0d 09 0d 09 6d 79 | 50 42 2e 69 6f 43 6f 6d |B;....my|PB.ioCom|
|000028f0| 70 6c 65 74 69 6f 6e 20 | 3d 20 30 3b 0d 09 6d 79 |pletion |= 0;..my|
|00002900| 50 42 2e 69 6f 56 52 65 | 66 4e 75 6d 20 3d 20 31 |PB.ioVRe|fNum = 1|
|00002910| 3b 09 09 2f 2a 20 77 65 | d5 72 65 20 61 73 73 75 |;../* we|.re assu|
|00002920| 6d 69 6e 67 20 6f 6e 6c | 79 20 31 20 76 6f 6c 75 |ming onl|y 1 volu|
|00002930| 6d 65 20 2a 2f 0d 09 6d | 79 50 42 2e 69 6f 52 65 |me */..m|yPB.ioRe|
|00002940| 66 4e 75 6d 20 3d 20 67 | 44 72 76 52 65 66 4e 75 |fNum = g|DrvRefNu|
|00002950| 6d 3b 09 2f 2a 20 64 65 | 74 65 72 6d 69 6e 65 64 |m;./* de|termined|
|00002960| 20 65 6c 73 65 77 68 65 | 72 65 20 2a 2f 0d 09 6d | elsewhe|re */..m|
|00002970| 79 50 42 2e 63 73 43 6f | 64 65 20 3d 20 31 30 37 |yPB.csCo|de = 107|
|00002980| 3b 0d 09 0d 09 72 65 73 | 75 6c 74 20 3d 20 50 42 |;....res|ult = PB|
|00002990| 43 6f 6e 74 72 6f 6c 28 | 26 6d 79 50 42 2c 20 66 |Control(|&myPB, f|
|000029a0| 61 6c 73 65 29 3b 0d 09 | 69 66 20 28 72 65 73 75 |alse);..|if (resu|
|000029b0| 6c 74 20 3d 3d 20 6e 6f | 45 72 72 29 0d 09 7b 0d |lt == no|Err)..{.|
|000029c0| 09 09 2a 73 74 61 74 75 | 73 20 3d 20 6d 79 50 42 |..*statu|s = myPB|
|000029d0| 2e 73 74 61 74 75 73 3b | 0d 09 09 2a 70 6c 61 79 |.status;|...*play|
|000029e0| 20 3d 20 6d 79 50 42 2e | 70 6c 61 79 3b 0d 09 09 | = myPB.|play;...|
|000029f0| 2a 63 6f 6e 74 72 6f 6c | 20 3d 20 6d 79 50 42 2e |*control| = myPB.|
|00002a00| 63 6f 6e 74 72 6f 6c 3b | 0d 09 09 2a 6d 69 6e 75 |control;|...*minu|
|00002a10| 74 65 20 3d 20 6d 79 50 | 42 2e 6d 69 6e 75 74 65 |te = myP|B.minute|
|00002a20| 3b 0d 09 09 2a 73 65 63 | 6f 6e 64 20 3d 20 6d 79 |;...*sec|ond = my|
|00002a30| 50 42 2e 73 65 63 6f 6e | 64 3b 0d 09 09 2a 66 72 |PB.secon|d;...*fr|
|00002a40| 61 6d 65 20 3d 20 6d 79 | 50 42 2e 66 72 61 6d 65 |ame = my|PB.frame|
|00002a50| 3b 0d 09 7d 0d 09 72 65 | 74 75 72 6e 28 72 65 73 |;..}..re|turn(res|
|00002a60| 75 6c 74 29 3b 0d 7d 0d | 44 72 69 76 65 72 20 53 |ult);.}.|Driver S|
|00002a70| 75 6d 6d 61 72 79 0d 4e | 61 6d 65 0d 2e 41 70 70 |ummary.N|ame..App|
|00002a80| 6c 65 43 44 0d 53 75 70 | 70 6f 72 74 65 64 20 43 |leCD.Sup|ported C|
|00002a90| 6f 6e 74 72 6f 6c 20 43 | 61 6c 6c 73 0d 63 73 43 |ontrol C|alls.csC|
|00002aa0| 6f 64 65 09 46 75 6e 63 | 74 69 6f 6e 20 4e 61 6d |ode.Func|tion Nam|
|00002ab0| 65 09 44 65 73 63 72 69 | 70 74 69 6f 6e 0d 53 74 |e.Descri|ption.St|
|00002ac0| 61 6e 64 61 72 64 20 44 | 72 69 76 65 72 20 43 61 |andard D|river Ca|
|00002ad0| 6c 6c 73 0d 09 31 09 4b | 69 6c 6c 49 4f 09 49 6e |lls..1.K|illIO.In|
|00002ae0| 74 65 72 72 75 70 74 20 | 61 6c 6c 20 61 73 79 6e |terrupt |all asyn|
|00002af0| 63 68 72 6f 6e 6f 75 73 | 20 64 72 69 76 65 72 20 |chronous| driver |
|00002b00| 6f 70 65 72 61 74 69 6f | 6e 73 2e 0d 09 35 09 56 |operatio|ns...5.V|
|00002b10| 65 72 69 66 79 54 68 65 | 44 69 73 63 09 56 65 72 |erifyThe|Disc.Ver|
|00002b20| 69 66 79 20 74 68 65 20 | 64 61 74 61 20 6f 6e 20 |ify the |data on |
|00002b30| 74 68 65 20 64 69 73 63 | 2e 0d 09 36 09 46 6f 72 |the disc|...6.For|
|00002b40| 6d 61 74 54 68 65 44 69 | 73 63 09 46 6f 72 6d 61 |matTheDi|sc.Forma|
|00002b50| 74 20 74 68 65 20 64 69 | 73 63 20 28 4e 6f 74 20 |t the di|sc (Not |
|00002b60| 53 75 70 70 6f 72 74 65 | 64 29 2e 0d 09 37 09 45 |Supporte|d)...7.E|
|00002b70| 6a 65 63 74 54 68 65 44 | 69 73 63 09 45 6a 65 63 |jectTheD|isc.Ejec|
|00002b80| 74 20 64 69 73 63 20 66 | 72 6f 6d 20 64 72 69 76 |t disc f|rom driv|
|00002b90| 65 2e 0d 09 32 31 09 47 | 65 74 44 72 69 76 65 49 |e...21.G|etDriveI|
|00002ba0| 63 6f 6e 09 52 65 74 75 | 72 6e 20 d4 49 43 4e 23 |con.Retu|rn .ICN#|
|00002bb0| d5 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |. inform|ation fo|
|00002bc0| 72 20 74 68 65 20 64 72 | 69 76 65 20 68 61 72 64 |r the dr|ive hard|
|00002bd0| 77 61 72 65 2e 0d 09 32 | 32 09 47 65 74 4d 65 64 |ware...2|2.GetMed|
|00002be0| 69 61 49 63 6f 6e 09 52 | 65 74 75 72 6e 20 d4 49 |iaIcon.R|eturn .I|
|00002bf0| 43 4e 23 d5 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |CN#. inf|ormation|
|00002c00| 20 66 6f 72 20 74 68 65 | 20 64 72 69 76 65 20 6d | for the| drive m|
|00002c10| 65 64 69 61 2e 0d 09 32 | 33 09 44 72 69 76 65 49 |edia...2|3.DriveI|
|00002c20| 6e 66 6f 09 52 65 74 75 | 72 6e 20 64 72 69 76 65 |nfo.Retu|rn drive|
|00002c30| 20 63 68 61 72 61 63 74 | 65 72 69 73 74 69 63 73 | charact|eristics|
|00002c40| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 0d 09 36 | informa|tion...6|
|00002c50| 35 09 61 63 63 52 75 6e | 09 44 72 69 76 65 72 2d |5.accRun|.Driver-|
|00002c60| 73 70 65 63 69 66 69 63 | 20 6e 65 65 64 54 69 6d |specific| needTim|
|00002c70| 65 20 63 6f 64 65 2e 0d | 53 70 65 63 69 61 6c 20 |e code..|Special |
|00002c80| 43 44 2d 52 4f 4d 20 43 | 6f 6e 74 72 6f 6c 20 43 |CD-ROM C|ontrol C|
|00002c90| 61 6c 6c 73 0d 09 37 36 | 09 4d 6f 64 69 66 79 50 |alls..76|.ModifyP|
|00002ca0| 6f 73 74 45 76 65 6e 74 | 09 45 6e 61 62 6c 65 2f |ostEvent|.Enable/|
|00002cb0| 64 69 73 61 62 6c 65 20 | 50 6f 73 74 45 76 65 6e |disable |PostEven|
|00002cc0| 74 28 29 73 20 66 6f 72 | 20 6e 6f 6e 2d 48 46 53 |t()s for| non-HFS|
|00002cd0| 20 64 69 73 63 73 2e 0d | 09 37 39 09 53 65 74 42 | discs..|.79.SetB|
|00002ce0| 6c 6f 63 6b 53 69 7a 65 | 09 4d 6f 64 69 66 79 20 |lockSize|.Modify |
|00002cf0| 62 6c 6f 63 6b 20 73 69 | 7a 65 20 6f 66 20 64 65 |block si|ze of de|
|00002d00| 76 69 63 65 2e 0d 09 38 | 30 09 55 73 65 72 45 6a |vice...8|0.UserEj|
|00002d10| 65 63 74 09 45 6e 61 62 | 6c 65 2f 64 69 73 61 62 |ect.Enab|le/disab|
|00002d20| 6c 65 20 74 68 65 20 62 | 75 74 74 6f 6e 20 6f 6e |le the b|utton on|
|00002d30| 20 74 68 65 20 66 72 6f | 6e 74 20 6f 66 20 74 68 | the fro|nt of th|
|00002d40| 65 20 43 44 2d 52 4f 4d | 20 64 65 76 69 63 65 2e |e CD-ROM| device.|
|00002d50| 0d 09 38 31 09 53 65 74 | 50 6f 6c 6c 46 72 65 71 |..81.Set|PollFreq|
|00002d60| 09 4d 6f 64 69 66 79 20 | 70 65 72 69 6f 64 20 6f |.Modify |period o|
|00002d70| 66 20 74 68 65 20 56 42 | 4c 2f 64 4e 65 65 64 54 |f the VB|L/dNeedT|
|00002d80| 69 6d 65 20 74 61 73 6b | 20 65 78 65 63 75 74 69 |ime task| executi|
|00002d90| 6f 6e 2e 0d 41 75 64 69 | 6f 20 74 72 61 63 6b 20 |on..Audi|o track |
|00002da0| 43 6f 6e 74 72 6f 6c 20 | 43 61 6c 6c 73 0d 09 31 |Control |Calls..1|
|00002db0| 30 30 09 52 65 61 64 54 | 4f 43 09 52 65 74 75 72 |00.ReadT|OC.Retur|
|00002dc0| 6e 20 61 20 64 69 73 63 | d5 73 20 54 61 62 6c 65 |n a disc|.s Table|
|00002dd0| 20 4f 66 20 43 6f 6e 74 | 65 6e 74 73 20 28 54 4f | Of Cont|ents (TO|
|00002de0| 43 29 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0d |C) infor|mation..|
|00002df0| 09 31 30 31 09 52 65 61 | 64 51 09 52 65 74 75 72 |.101.Rea|dQ.Retur|
|00002e00| 6e 20 51 2d 53 75 62 63 | 6f 64 65 20 69 6e 66 6f |n Q-Subc|ode info|
|00002e10| 72 6d 61 74 69 6f 6e 2e | 0d 09 31 30 32 09 52 65 |rmation.|..102.Re|
|00002e20| 61 64 48 65 61 64 65 72 | 09 52 65 74 75 72 6e 20 |adHeader|.Return |
|00002e30| 34 2d 62 79 74 65 20 68 | 65 61 64 65 72 20 69 6e |4-byte h|eader in|
|00002e40| 66 6f 72 6d 61 74 69 6f | 6e 20 66 6f 72 20 61 20 |formatio|n for a |
|00002e50| 73 70 65 63 69 66 69 65 | 64 20 62 6c 6f 63 6b 2e |specifie|d block.|
|00002e60| 0d 09 31 30 33 09 41 75 | 64 69 6f 54 72 61 63 6b |..103.Au|dioTrack|
|00002e70| 53 65 61 72 63 68 09 53 | 65 61 72 63 68 20 64 69 |Search.S|earch di|
|00002e80| 73 63 20 66 6f 72 20 61 | 20 73 70 65 63 69 66 69 |sc for a| specifi|
|00002e90| 65 64 20 74 72 61 63 6b | 2e 0d 09 31 30 34 09 41 |ed track|...104.A|
|00002ea0| 75 64 69 6f 50 6c 61 79 | 09 43 61 75 73 65 20 64 |udioPlay|.Cause d|
|00002eb0| 72 69 76 65 20 74 6f 20 | 70 6c 61 79 20 61 20 67 |rive to |play a g|
|00002ec0| 69 76 65 6e 20 72 61 6e | 67 65 20 6f 66 20 61 75 |iven ran|ge of au|
|00002ed0| 64 69 6f 20 74 72 61 63 | 6b 73 2e 0d 09 31 30 35 |dio trac|ks...105|
|00002ee0| 09 41 75 64 69 6f 50 61 | 75 73 65 09 43 61 75 73 |.AudioPa|use.Caus|
|00002ef0| 65 20 64 72 69 76 65 20 | 74 6f 20 65 6e 74 65 72 |e drive |to enter|
|00002f00| 2f 65 78 69 74 20 74 68 | 65 20 48 6f 6c 64 20 54 |/exit th|e Hold T|
|00002f10| 72 61 63 6b 20 53 74 61 | 74 65 2e 0d 09 31 30 36 |rack Sta|te...106|
|00002f20| 09 41 75 64 69 6f 53 74 | 6f 70 09 53 70 65 63 69 |.AudioSt|op.Speci|
|00002f30| 66 79 20 61 6e 20 61 64 | 64 72 65 73 73 20 74 6f |fy an ad|dress to|
|00002f40| 20 63 61 75 73 65 20 74 | 68 65 20 43 44 2d 52 4f | cause t|he CD-RO|
|00002f50| 4d 20 74 6f 20 73 74 6f | 70 2e 0d 09 31 30 37 09 |M to sto|p...107.|
|00002f60| 41 75 64 69 6f 53 74 61 | 74 75 73 09 52 65 71 75 |AudioSta|tus.Requ|
|00002f70| 65 73 74 20 74 68 65 20 | 70 6c 61 79 20 73 74 61 |est the |play sta|
|00002f80| 74 75 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |tus info|rmation |
|00002f90| 66 72 6f 6d 20 61 20 64 | 72 69 76 65 2e 0d 09 31 |from a d|rive...1|
|00002fa0| 30 38 09 41 75 64 69 6f | 53 63 61 6e 09 43 61 75 |08.Audio|Scan.Cau|
|00002fb0| 73 65 20 64 72 69 76 65 | 20 74 6f 20 66 61 73 74 |se drive| to fast|
|00002fc0| 2d 66 6f 72 77 61 72 64 | 2f 72 65 76 65 72 73 65 |-forward|/reverse|
|00002fd0| 2e 0d 09 31 30 39 09 41 | 75 64 69 6f 43 6f 6e 74 |...109.A|udioCont|
|00002fe0| 72 6f 6c 09 53 65 74 20 | 76 6f 6c 75 6d 65 20 6c |rol.Set |volume l|
|00002ff0| 65 76 65 6c 20 66 6f 72 | 20 64 72 69 76 65 20 28 |evel for| drive (|
|00003000| 4e 6f 74 20 61 76 61 69 | 6c 61 62 6c 65 20 6f 6e |Not avai|lable on|
|00003010| 20 43 44 20 53 43 29 2e | 0d 09 31 31 30 09 52 65 | CD SC).|..110.Re|
|00003020| 61 64 4d 43 4e 09 52 65 | 74 75 72 6e 20 4d 65 64 |adMCN.Re|turn Med|
|00003030| 69 61 20 43 61 74 61 6c | 6f 67 20 4e 75 6d 62 65 |ia Catal|og Numbe|
|00003040| 72 20 28 4e 6f 74 20 61 | 76 61 69 6c 61 62 6c 65 |r (Not a|vailable|
|00003050| 20 6f 6e 20 43 44 20 53 | 43 29 2e 0d 09 31 31 31 | on CD S|C)...111|
|00003060| 09 52 65 61 64 49 53 52 | 43 09 52 65 74 75 72 6e |.ReadISR|C.Return|
|00003070| 20 49 6e 74 65 72 6e 61 | 74 69 6f 6e 61 6c 20 53 | Interna|tional S|
|00003080| 74 61 6e 64 61 72 64 20 | 52 65 63 6f 72 64 69 6e |tandard |Recordin|
|00003090| 67 20 43 6f 64 65 20 28 | 4e 6f 74 20 61 76 61 69 |g Code (|Not avai|
|000030a0| 6c 61 62 6c 65 20 6f 6e | 20 43 44 20 53 43 29 2e |lable on| CD SC).|
|000030b0| 0d 09 31 31 32 09 52 65 | 61 64 41 75 64 69 6f 56 |..112.Re|adAudioV|
|000030c0| 6f 6c 75 6d 65 09 52 65 | 74 75 72 6e 20 41 75 64 |olume.Re|turn Aud|
|000030d0| 69 6f 20 56 6f 6c 75 6d | 65 20 43 6f 6e 74 72 6f |io Volum|e Contro|
|000030e0| 6c 20 44 61 74 61 20 28 | 4e 6f 74 20 61 76 61 69 |l Data (|Not avai|
|000030f0| 6c 61 62 6c 65 20 6f 6e | 20 43 44 20 53 43 29 2e |lable on| CD SC).|
|00003100| 0d 09 31 31 33 09 47 65 | 74 53 70 69 6e 64 6c 65 |..113.Ge|tSpindle|
|00003110| 53 70 65 65 64 09 52 65 | 74 75 72 6e 20 74 68 65 |Speed.Re|turn the|
|00003120| 20 63 75 72 72 65 6e 74 | 20 73 70 69 6e 64 6c 65 | current| spindle|
|00003130| 20 73 70 65 65 64 2e 0d | 09 31 31 34 09 53 65 74 | speed..|.114.Set|
|00003140| 53 70 69 6e 64 6c 65 53 | 70 65 65 64 09 53 65 74 |SpindleS|peed.Set|
|00003150| 20 74 68 65 20 73 70 69 | 6e 64 6c 65 20 73 70 65 | the spi|ndle spe|
|00003160| 65 64 2e 0d 09 31 31 35 | 09 52 65 61 64 41 75 64 |ed...115|.ReadAud|
|00003170| 69 6f 09 52 65 74 75 72 | 6e 20 64 69 67 69 74 61 |io.Retur|n digita|
|00003180| 6c 20 61 75 64 69 6f 20 | 64 61 74 61 20 28 41 70 |l audio |data (Ap|
|00003190| 70 6c 65 43 44 20 33 30 | 30 20 61 6e 64 20 41 70 |pleCD 30|0 and Ap|
|000031a0| 70 6c 65 43 44 20 33 30 | 30 20 50 6c 75 73 20 6f |pleCD 30|0 Plus o|
|000031b0| 6e 6c 79 29 2e 0d 09 31 | 31 36 09 52 65 61 64 41 |nly)...1|16.ReadA|
|000031c0| 6c 6c 53 75 62 63 6f 64 | 65 73 09 52 65 74 75 72 |llSubcod|es.Retur|
|000031d0| 6e 20 73 75 62 63 6f 64 | 65 73 20 77 68 69 6c 65 |n subcod|es while|
|000031e0| 20 70 6c 61 79 69 6e 67 | 20 61 75 64 69 6f 20 28 | playing| audio (|
|000031f0| 41 70 70 6c 65 43 44 20 | 33 30 30 20 61 6e 64 20 |AppleCD |300 and |
|00003200| 41 70 70 6c 65 43 44 20 | 33 30 30 20 50 6c 75 73 |AppleCD |300 Plus|
|00003210| 20 6f 6e 6c 79 29 2e 0d | 53 75 70 70 6f 72 74 65 | only)..|Supporte|
|00003220| 64 20 53 74 61 74 75 73 | 20 43 61 6c 6c 73 0d 63 |d Status| Calls.c|
|00003230| 73 43 6f 64 65 09 46 75 | 6e 63 74 69 6f 6e 20 4e |sCode.Fu|nction N|
|00003240| 61 6d 65 09 44 65 73 63 | 72 69 70 74 69 6f 6e 0d |ame.Desc|ription.|
|00003250| 09 38 09 44 72 69 76 65 | 53 74 61 74 75 73 09 50 |.8.Drive|Status.P|
|00003260| 72 6f 76 69 64 65 73 20 | 64 72 69 76 65 2f 64 69 |rovides |drive/di|
|00003270| 73 63 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |sc infor|mation a|
|00003280| 62 6f 75 74 20 61 20 73 | 70 65 63 69 66 69 65 64 |bout a s|pecified|
|00003290| 20 53 43 53 49 20 49 44 | 2e 0d 09 34 33 09 44 72 | SCSI ID|...43.Dr|
|000032a0| 69 76 65 72 47 65 73 74 | 61 6c 74 09 52 65 74 75 |iverGest|alt.Retu|
|000032b0| 72 6e 73 20 76 61 72 69 | 6f 75 73 20 64 72 69 76 |rns vari|ous driv|
|000032c0| 65 72 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 0d |er infor|mation..|
|000032d0| 09 39 35 09 47 65 74 32 | 4b 4f 66 66 73 65 74 09 |.95.Get2|KOffset.|
|000032e0| 52 65 74 75 72 6e 73 20 | 6c 61 73 74 20 50 72 69 |Returns |last Pri|
|000032f0| 6d 65 20 63 61 6c 6c d5 | 73 20 6f 66 66 73 65 74 |me call.|s offset|
|00003300| 20 66 72 6f 6d 20 73 74 | 61 72 74 20 6f 66 20 32 | from st|art of 2|
|00003310| 4b 20 70 68 79 73 69 63 | 61 6c 20 62 6c 6f 63 6b |K physic|al block|
|00003320| 2e 0d 09 39 36 09 47 65 | 74 44 72 69 76 65 54 79 |...96.Ge|tDriveTy|
|00003330| 70 65 09 52 65 74 75 72 | 6e 73 20 74 68 65 20 74 |pe.Retur|ns the t|
|00003340| 79 70 65 20 6f 66 20 43 | 44 20 64 72 69 76 65 20 |ype of C|D drive |
|00003350| 61 74 20 61 20 67 69 76 | 65 6e 20 53 43 53 49 20 |at a giv|en SCSI |
|00003360| 49 44 2e 0d 09 39 37 09 | 57 68 6f 49 73 54 68 65 |ID...97.|WhoIsThe|
|00003370| 72 65 09 52 65 74 75 72 | 6e 73 20 61 20 62 69 74 |re.Retur|ns a bit|
|00003380| 6d 61 70 20 6f 66 20 53 | 43 53 49 20 49 44 73 20 |map of S|CSI IDs |
|00003390| 74 68 61 74 20 74 68 65 | 20 43 44 2d 52 4f 4d 20 |that the| CD-ROM |
|000033a0| 64 72 69 76 65 72 20 63 | 6f 6e 74 72 6f 6c 73 2e |driver c|ontrols.|
|000033b0| 0d 09 39 38 09 47 65 74 | 42 6c 6f 63 6b 53 69 7a |..98.Get|BlockSiz|
|000033c0| 65 09 52 65 74 75 72 6e | 73 20 74 68 65 20 62 6c |e.Return|s the bl|
|000033d0| 6f 63 6b 20 73 69 7a 65 | 20 6f 66 20 74 68 65 20 |ock size| of the |
|000033e0| 64 69 73 63 20 61 74 20 | 61 20 67 69 76 65 6e 20 |disc at |a given |
|000033f0| 53 43 53 49 20 49 44 2e | 0d 09 31 32 30 09 52 65 |SCSI ID.|..120.Re|
|00003400| 74 75 72 6e 44 65 76 69 | 63 65 49 64 65 6e 74 09 |turnDevi|ceIdent.|
|00003410| 52 65 74 75 72 6e 73 20 | 74 68 65 20 53 43 53 49 |Returns |the SCSI|
|00003420| 20 4d 61 6e 61 67 65 72 | 20 34 2e 33 20 44 65 76 | Manager| 4.3 Dev|
|00003430| 69 63 65 49 64 65 6e 74 | 20 28 42 75 73 2c 20 53 |iceIdent| (Bus, S|
|00003440| 43 53 49 20 49 44 2c 20 | 4c 55 4e 29 20 6f 66 20 |CSI ID, |LUN) of |
|00003450| 74 68 65 20 43 44 2d 52 | 4f 4d 20 64 72 69 76 65 |the CD-R|OM drive|
|00003460| 2e 0d 09 31 32 31 09 47 | 65 74 43 44 46 65 61 74 |...121.G|etCDFeat|
|00003470| 75 72 65 73 09 52 65 74 | 75 72 6e 73 20 76 61 72 |ures.Ret|urns var|
|00003480| 69 6f 75 73 20 43 44 2d | 52 4f 4d 20 64 72 69 76 |ious CD-|ROM driv|
|00003490| 65 20 66 65 61 74 75 72 | 65 73 20 28 73 70 69 6e |e featur|es (spin|
|000034a0| 64 6c 65 20 73 70 65 65 | 64 2c 20 64 72 61 77 65 |dle spee|d, drawe|
|000034b0| 72 20 6f 72 20 74 72 61 | 79 20 74 79 70 65 2c 20 |r or tra|y type, |
|000034c0| 65 74 63 2e 29 2e 0d 43 | 6f 6e 74 72 6f 6c 20 43 |etc.)..C|ontrol C|
|000034d0| 61 6c 6c 20 44 65 73 63 | 72 69 70 74 69 6f 6e 73 |all Desc|riptions|
|000034e0| 0d 4b 69 6c 6c 49 4f 20 | 28 63 73 43 6f 64 65 3d |.KillIO |(csCode=|
|000034f0| 31 29 0d 54 68 65 20 70 | 75 72 70 6f 73 65 20 6f |1).The p|urpose o|
|00003500| 66 20 74 68 69 73 20 63 | 61 6c 6c 20 69 73 20 74 |f this c|all is t|
|00003510| 6f 20 61 6c 6c 6f 77 20 | 74 68 65 20 69 6e 74 65 |o allow |the inte|
|00003520| 72 72 75 70 74 69 6f 6e | 20 6f 66 20 61 6c 6c 20 |rruption| of all |
|00003530| 61 73 79 6e 63 68 72 6f | 6e 6f 75 73 20 64 65 76 |asynchro|nous dev|
|00003540| 69 63 65 20 64 72 69 76 | 65 72 20 6f 70 65 72 61 |ice driv|er opera|
|00003550| 74 69 6f 6e 73 2e 20 54 | 68 69 73 20 63 61 6c 6c |tions. T|his call|
|00003560| 20 69 73 20 6e 6f 74 20 | 73 75 70 70 6f 72 74 65 | is not |supporte|
|00003570| 64 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 6e 6f |d and re|turns no|
|00003580| 45 72 72 20 69 66 20 63 | 61 6c 6c 65 64 2e 0d 49 |Err if c|alled..I|
|00003590| 6e 70 75 74 20 50 61 72 | 61 6d 65 74 65 72 73 3a |nput Par|ameters:|
|000035a0| 0d 63 73 43 6f 64 65 09 | 31 0d 63 73 50 61 72 61 |.csCode.|1.csPara|
|000035b0| 6d 5b 5d 09 44 6f 6e d5 | 74 20 63 61 72 65 2e 0d |m[].Don.|t care..|
|000035c0| 53 74 61 74 75 73 20 52 | 65 74 75 72 6e 20 43 6f |Status R|eturn Co|
|000035d0| 64 65 73 3a 0d 6e 6f 45 | 72 72 09 54 68 69 73 20 |des:.noE|rr.This |
|000035e0| 69 73 20 74 68 65 20 6f | 6e 6c 79 20 65 78 70 65 |is the o|nly expe|
|000035f0| 63 74 65 64 20 73 74 61 | 74 75 73 20 72 65 74 75 |cted sta|tus retu|
|00003600| 72 6e 20 63 6f 64 65 2e | 0d 56 65 72 69 66 79 54 |rn code.|.VerifyT|
|00003610| 68 65 44 69 73 63 20 28 | 63 73 43 6f 64 65 3d 35 |heDisc (|csCode=5|
|00003620| 29 0d 54 68 65 20 70 75 | 72 70 6f 73 65 20 6f 66 |).The pu|rpose of|
|00003630| 20 74 68 69 73 20 63 61 | 6c 6c 20 69 73 20 74 6f | this ca|ll is to|
|00003640| 20 65 6e 73 75 72 65 20 | 74 68 65 20 76 61 6c 69 | ensure |the vali|
|00003650| 64 69 74 79 20 6f 66 20 | 74 68 65 20 64 61 74 61 |dity of |the data|
|00003660| 20 6f 6e 20 74 68 65 20 | 64 69 73 63 2e 20 43 44 | on the |disc. CD|
|00003670| 2d 52 4f 4d 73 20 63 61 | 6e 6e 6f 74 20 62 65 20 |-ROMs ca|nnot be |
|00003680| 63 68 61 6e 67 65 64 20 | 28 74 68 65 79 20 61 72 |changed |(they ar|
|00003690| 65 20 72 65 61 64 2d 6f | 6e 6c 79 2c 20 61 73 20 |e read-o|nly, as |
|000036a0| 74 68 65 20 6e 61 6d 65 | 20 69 6d 70 6c 69 65 73 |the name| implies|
|000036b0| 29 2e 20 57 68 65 6e 20 | 74 68 69 73 20 43 6f 6e |). When |this Con|
|000036c0| 74 72 6f 6c 20 63 61 6c | 6c 20 69 73 20 6d 61 64 |trol cal|l is mad|
|000036d0| 65 2c 20 61 73 20 6c 6f | 6e 67 20 61 73 20 61 20 |e, as lo|ng as a |
|000036e0| 64 69 73 63 20 69 73 20 | 69 6e 73 65 72 74 65 64 |disc is |inserted|
|000036f0| 20 69 6e 20 74 68 65 20 | 64 72 69 76 65 2c 20 74 | in the |drive, t|
|00003700| 68 65 20 43 44 2d 52 4f | 4d 20 64 72 69 76 65 72 |he CD-RO|M driver|
|00003710| 20 77 69 6c 6c 20 72 65 | 74 75 72 6e 20 6e 6f 45 | will re|turn noE|
|00003720| 72 72 2e 20 49 66 20 6e | 6f 20 64 69 73 63 20 69 |rr. If n|o disc i|
|00003730| 73 20 69 6e 73 65 72 74 | 65 64 20 69 6e 20 74 68 |s insert|ed in th|
|00003740| 65 20 64 72 69 76 65 2c | 20 74 68 65 20 43 44 2d |e drive,| the CD-|
|00003750| 52 4f 4d 20 64 72 69 76 | 65 72 20 77 69 6c 6c 20 |ROM driv|er will |
|00003760| 72 65 74 75 72 6e 20 6f | 66 66 4c 69 6e 45 72 72 |return o|ffLinErr|
|00003770| 2e 0d 49 6e 70 75 74 20 | 50 61 72 61 6d 65 74 65 |..Input |Paramete|
|00003780| 72 73 3a 0d 63 73 43 6f | 64 65 09 35 0d 63 73 50 |rs:.csCo|de.5.csP|
|00003790| 61 72 61 6d 5b 5d 09 44 | 6f 6e d5 74 20 63 61 72 |aram[].D|on.t car|
|000037a0| 65 2e 0d 53 74 61 74 75 | 73 20 52 65 74 75 72 6e |e..Statu|s Return|
|000037b0| 20 43 6f 64 65 73 3a 0d | 6e 6f 45 72 72 09 54 68 | Codes:.|noErr.Th|
|000037c0| 65 20 65 6e 74 69 72 65 | 20 64 69 73 63 20 77 61 |e entire| disc wa|
|000037d0| 73 20 73 75 63 63 65 73 | 73 66 75 6c 6c 79 20 76 |s succes|sfully v|
|000037e0| 65 72 69 66 69 65 64 20 | 77 69 74 68 20 6e 6f 20 |erified |with no |
|000037f0| 65 72 72 6f 72 73 20 64 | 65 74 65 63 74 65 64 2e |errors d|etected.|
|00003800| 0d 6f 66 66 4c 69 6e 45 | 72 72 09 4e 6f 20 64 69 |.offLinE|rr.No di|
|00003810| 73 63 20 69 6e 73 65 72 | 74 65 64 20 61 74 20 74 |sc inser|ted at t|
|00003820| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 53 43 53 |he speci|fied SCS|
|00003830| 49 20 49 44 2e 0d 46 6f | 72 6d 61 74 54 68 65 44 |I ID..Fo|rmatTheD|
|00003840| 69 73 63 20 28 63 73 43 | 6f 64 65 3d 36 29 0d 54 |isc (csC|ode=6).T|
|00003850| 68 65 20 70 75 72 70 6f | 73 65 20 6f 66 20 74 68 |he purpo|se of th|
|00003860| 69 73 20 63 61 6c 6c 20 | 69 73 20 74 6f 20 66 6f |is call |is to fo|
|00003870| 72 6d 61 74 20 61 6e 64 | 20 69 6e 69 74 69 61 6c |rmat and| initial|
|00003880| 69 7a 65 20 74 68 65 20 | 43 44 2d 52 4f 4d 20 64 |ize the |CD-ROM d|
|00003890| 69 73 63 20 66 6f 72 20 | 75 73 65 20 69 6e 20 74 |isc for |use in t|
|000038a0| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 2e 20 48 6f |he Macin|tosh. Ho|
|000038b0| 77 65 76 65 72 2c 20 61 | 20 43 44 2d 52 4f 4d 20 |wever, a| CD-ROM |
|000038c0| 63 61 6e 6e 6f 74 20 62 | 65 20 6d 6f 64 69 66 69 |cannot b|e modifi|
|000038d0| 65 64 20 61 66 74 65 72 | 20 69 74 20 68 61 73 20 |ed after| it has |
|000038e0| 62 65 65 6e 20 70 72 65 | 73 73 65 64 2c 20 73 6f |been pre|ssed, so|
|000038f0| 20 74 68 69 73 20 63 6f | 6d 6d 61 6e 64 20 61 6c | this co|mmand al|
|00003900| 77 61 79 73 20 72 65 74 | 75 72 6e 73 20 61 20 63 |ways ret|urns a c|
|00003910| 6f 6e 74 72 6f 6c 45 72 | 72 20 73 74 61 74 75 73 |ontrolEr|r status|
|00003920| 20 63 6f 64 65 2e 0d 49 | 6e 70 75 74 20 50 61 72 | code..I|nput Par|
|00003930| 61 6d 65 74 65 72 73 3a | 0d 63 73 43 6f 64 65 09 |ameters:|.csCode.|
|00003940| 36 0d 63 73 50 61 72 61 | 6d 5b 5d 09 44 6f 6e d5 |6.csPara|m[].Don.|
|00003950| 74 20 63 61 72 65 2e 0d | 53 74 61 74 75 73 20 52 |t care..|Status R|
|00003960| 65 74 75 72 6e 20 43 6f | 64 65 73 3a 0d 63 6f 6e |eturn Co|des:.con|
|00003970| 74 72 6f 6c 45 72 72 09 | 54 68 69 73 20 63 6f 6e |trolErr.|This con|
|00003980| 74 72 6f 6c 20 63 61 6c | 6c 20 69 73 20 6e 6f 74 |trol cal|l is not|
|00003990| 20 76 61 6c 69 64 20 66 | 6f 72 20 74 68 69 73 20 | valid f|or this |
|000039a0| 64 65 76 69 63 65 2e 0d | 45 6a 65 63 74 54 68 65 |device..|EjectThe|
|000039b0| 44 69 73 63 20 28 63 73 | 43 6f 64 65 3d 37 29 0d |Disc (cs|Code=7).|
|000039c0| 54 68 65 20 70 75 72 70 | 6f 73 65 20 6f 66 20 74 |The purp|ose of t|
|000039d0| 68 69 73 20 63 61 6c 6c | 20 69 73 20 74 6f 20 63 |his call| is to c|
|000039e0| 61 75 73 65 20 61 20 64 | 69 73 63 20 65 6a 65 63 |ause a d|isc ejec|
|000039f0| 74 20 61 74 20 61 20 73 | 70 65 63 69 66 69 65 64 |t at a s|pecified|
|00003a00| 20 53 43 53 49 20 49 44 | 2e 20 54 68 65 20 73 70 | SCSI ID|. The sp|
|00003a10| 65 63 69 66 69 65 64 20 | 53 43 53 49 20 64 65 76 |ecified |SCSI dev|
|00003a20| 69 63 65 20 69 73 20 73 | 65 6e 74 20 61 20 53 43 |ice is s|ent a SC|
|00003a30| 53 49 20 45 6a 65 63 74 | 20 44 69 73 63 20 63 6f |SI Eject| Disc co|
|00003a40| 6d 6d 61 6e 64 20 74 6f | 20 65 6a 65 63 74 20 74 |mmand to| eject t|
|00003a50| 68 65 20 64 69 73 63 2e | 20 42 75 74 20 66 69 72 |he disc.| But fir|
|00003a60| 73 74 2c 20 61 20 53 43 | 53 49 20 50 72 65 76 65 |st, a SC|SI Preve|
|00003a70| 6e 74 2f 41 6c 6c 6f 77 | 20 4d 65 64 69 75 6d 20 |nt/Allow| Medium |
|00003a80| 52 65 6d 6f 76 61 6c 20 | 63 6f 6d 6d 61 6e 64 20 |Removal |command |
|00003a90| 69 73 20 69 73 73 75 65 | 64 20 74 6f 20 72 65 61 |is issue|d to rea|
|00003aa0| 63 74 69 76 61 74 65 20 | 74 68 65 20 65 78 74 65 |ctivate |the exte|
|00003ab0| 72 6e 61 6c 20 45 6a 65 | 63 74 20 62 75 74 74 6f |rnal Eje|ct butto|
|00003ac0| 6e 20 6f 6e 20 74 68 65 | 20 66 72 6f 6e 74 20 70 |n on the| front p|
|00003ad0| 61 6e 65 6c 20 6f 66 20 | 74 68 65 20 43 44 2d 52 |anel of |the CD-R|
|00003ae0| 4f 4d 20 64 72 69 76 65 | 2e 20 49 66 20 74 68 65 |OM drive|. If the|
|00003af0| 20 50 72 65 76 65 6e 74 | 2f 41 6c 6c 6f 77 20 4d | Prevent|/Allow M|
|00003b00| 65 64 69 75 6d 20 52 65 | 6d 6f 76 61 6c 20 63 6f |edium Re|moval co|
|00003b10| 6d 6d 61 6e 64 20 69 73 | 20 6e 6f 74 20 65 78 65 |mmand is| not exe|
|00003b20| 63 75 74 65 64 20 74 6f | 20 72 65 2d 61 6c 6c 6f |cuted to| re-allo|
|00003b30| 77 20 74 68 65 20 6d 61 | 6e 75 61 6c 20 65 6a 65 |w the ma|nual eje|
|00003b40| 63 74 20 62 75 74 74 6f | 6e 2c 20 74 68 65 20 45 |ct butto|n, the E|
|00003b50| 6a 65 63 74 20 44 69 73 | 63 20 63 6f 6d 6d 61 6e |ject Dis|c comman|
|00003b60| 64 20 77 69 6c 6c 20 66 | 61 69 6c 20 77 69 74 68 |d will f|ail with|
|00003b70| 20 61 20 d2 43 68 65 63 | 6b 20 43 6f 6e 64 69 74 | a .Chec|k Condit|
|00003b80| 69 6f 6e d3 20 73 74 61 | 74 75 73 20 63 6f 64 65 |ion. sta|tus code|
|00003b90| 2e 20 54 68 65 20 64 4e | 65 65 64 54 69 6d 65 20 |. The dN|eedTime |
|00003ba0| 66 6c 61 67 20 69 6e 20 | 74 68 65 20 73 70 65 63 |flag in |the spec|
|00003bb0| 69 66 69 65 64 20 53 43 | 53 49 20 49 44 d5 73 20 |ified SC|SI ID.s |
|00003bc0| 44 43 45 20 69 73 20 73 | 65 74 20 73 6f 20 74 68 |DCE is s|et so th|
|00003bd0| 61 74 20 6e 65 77 20 64 | 69 73 63 20 69 6e 73 65 |at new d|isc inse|
|00003be0| 72 74 69 6f 6e 73 20 77 | 69 6c 6c 20 62 65 20 70 |rtions w|ill be p|
|00003bf0| 65 72 69 6f 64 69 63 61 | 6c 6c 79 20 63 68 65 63 |eriodica|lly chec|
|00003c00| 6b 65 64 20 66 6f 72 20 | 28 73 65 65 20 74 68 65 |ked for |(see the|
|00003c10| 20 61 63 63 52 75 6e 20 | 63 6f 6e 74 72 6f 6c 20 | accRun |control |
|00003c20| 63 61 6c 6c 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |call for| more de|
|00003c30| 74 61 69 6c 73 29 2e 20 | 46 69 6e 61 6c 6c 79 2c |tails). |Finally,|
|00003c40| 20 74 68 65 20 64 72 69 | 76 65 20 71 75 65 75 65 | the dri|ve queue|
|00003c50| 20 65 6e 74 72 79 20 61 | 73 73 6f 63 69 61 74 65 | entry a|ssociate|
|00003c60| 64 20 77 69 74 68 20 74 | 68 69 73 20 64 72 69 76 |d with t|his driv|
|00003c70| 65 20 69 73 20 6d 61 72 | 6b 65 64 20 61 73 20 62 |e is mar|ked as b|
|00003c80| 65 69 6e 67 20 4f 66 66 | 2d 4c 69 6e 65 20 61 6e |eing Off|-Line an|
|00003c90| 64 20 45 6a 65 63 74 65 | 64 2e 0d 49 6e 70 75 74 |d Ejecte|d..Input|
|00003ca0| 20 50 61 72 61 6d 65 74 | 65 72 73 3a 0d 63 73 43 | Paramet|ers:.csC|
|00003cb0| 6f 64 65 09 37 0d 63 73 | 50 61 72 61 6d 5b 5d 09 |ode.7.cs|Param[].|
|00003cc0| 44 6f 6e d5 74 20 63 61 | 72 65 2e 0d 53 74 61 74 |Don.t ca|re..Stat|
|00003cd0| 75 73 20 52 65 74 75 72 | 6e 20 43 6f 64 65 73 3a |us Retur|n Codes:|
|00003ce0| 0d 6e 6f 45 72 72 09 54 | 68 65 20 65 6e 74 69 72 |.noErr.T|he entir|
|00003cf0| 65 20 64 69 73 63 20 77 | 61 73 20 73 75 63 63 65 |e disc w|as succe|
|00003d00| 73 73 66 75 6c 6c 79 20 | 65 6a 65 63 74 65 64 2e |ssfully |ejected.|
|00003d10| 0d 6f 66 66 4c 69 6e 45 | 72 72 09 4e 6f 20 64 69 |.offLinE|rr.No di|
|00003d20| 73 63 20 69 6e 73 65 72 | 74 65 64 20 61 74 20 74 |sc inser|ted at t|
|00003d30| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 53 43 53 |he speci|fied SCS|
|00003d40| 49 20 49 44 2e 0d 47 65 | 74 44 72 69 76 65 49 63 |I ID..Ge|tDriveIc|
|00003d50| 6f 6e 20 28 63 73 43 6f | 64 65 3d 32 31 29 0d 54 |on (csCo|de=21).T|
|00003d60| 68 65 20 70 75 72 70 6f | 73 65 20 6f 66 20 74 68 |he purpo|se of th|
|00003d70| 69 73 20 63 61 6c 6c 20 | 69 73 20 74 6f 20 72 65 |is call |is to re|
|00003d80| 74 75 72 6e 20 d4 49 43 | 4e 23 d5 2d 73 74 79 6c |turn .IC|N#.-styl|
|00003d90| 65 20 64 61 74 61 20 74 | 68 61 74 20 69 73 20 74 |e data t|hat is t|
|00003da0| 79 70 69 63 61 6c 6c 79 | 20 64 69 73 70 6c 61 79 |ypically| display|
|00003db0| 65 64 20 65 69 74 68 65 | 72 20 64 75 72 69 6e 67 |ed eithe|r during|
|00003dc0| 20 74 68 65 20 64 69 73 | 63 20 66 6f 72 6d 61 74 | the dis|c format|
|00003dd0| 74 69 6e 67 20 70 72 6f | 63 65 73 73 20 6f 72 20 |ting pro|cess or |
|00003de0| 62 79 20 74 68 65 20 53 | 74 61 72 74 75 70 20 44 |by the S|tartup D|
|00003df0| 69 73 6b 20 43 6f 6e 74 | 72 6f 6c 20 50 61 6e 65 |isk Cont|rol Pane|
|00003e00| 6c 20 6d 6f 64 75 6c 65 | 2e 20 54 68 65 20 64 72 |l module|. The dr|
|00003e10| 69 76 65 20 69 63 6f 6e | 20 69 73 20 74 68 65 20 |ive icon| is the |
|00003e20| 73 61 6d 65 20 61 73 20 | 74 68 65 20 6d 65 64 69 |same as |the medi|
|00003e30| 61 20 69 63 6f 6e 20 69 | 6e 20 74 68 69 73 20 64 |a icon i|n this d|
|00003e40| 72 69 76 65 72 2e 20 54 | 68 65 72 65 20 69 73 20 |river. T|here is |
|00003e50| 6e 6f 20 74 72 75 65 20 | 64 72 69 76 65 20 69 63 |no true |drive ic|
|00003e60| 6f 6e 20 62 65 63 61 75 | 73 65 20 74 68 65 72 65 |on becau|se there|
|00003e70| 20 69 73 20 6e 6f 20 77 | 61 79 20 6f 66 20 64 65 | is no w|ay of de|
|00003e80| 74 65 72 6d 69 6e 69 6e | 67 20 69 66 20 61 6e 20 |terminin|g if an |
|00003e90| 69 6e 74 65 72 6e 61 6c | 20 6f 72 20 65 78 74 65 |internal| or exte|
|00003ea0| 72 6e 61 6c 20 64 72 69 | 76 65 20 73 68 6f 75 6c |rnal dri|ve shoul|
|00003eb0| 64 20 72 65 70 72 65 73 | 65 6e 74 65 64 2e 20 54 |d repres|ented. T|
|00003ec0| 68 65 20 69 63 6f 6e 73 | 20 61 6c 77 61 79 73 20 |he icons| always |
|00003ed0| 6c 6f 6f 6b 20 6c 69 6b | 65 20 74 68 69 73 3a 0d |look lik|e this:.|
|00003ee0| 46 69 67 75 72 65 20 31 | 3a 20 49 63 6f 6e 20 72 |Figure 1|: Icon r|
|00003ef0| 65 74 75 72 6e 65 64 20 | 62 79 20 47 65 74 44 72 |eturned |by GetDr|
|00003f00| 69 76 65 49 63 6f 6e 20 | 61 6e 64 20 47 65 74 4d |iveIcon |and GetM|
|00003f10| 65 64 69 61 49 63 6f 6e | 20 43 6f 6e 74 72 6f 6c |ediaIcon| Control|
|00003f20| 20 63 61 6c 6c 73 0d 49 | 6e 70 75 74 20 50 61 72 | calls.I|nput Par|
|00003f30| 61 6d 65 74 65 72 73 3a | 0d 63 73 43 6f 64 65 09 |ameters:|.csCode.|
|00003f40| 32 31 0d 63 73 50 61 72 | 61 6d 5b 30 2d 31 30 5d |21.csPar|am[0-10]|
|00003f50| 09 44 6f 6e d5 74 20 63 | 61 72 65 2e 0d 4f 75 74 |.Don.t c|are..Out|
|00003f60| 70 75 74 20 50 72 6f 64 | 75 63 65 64 3a 0d 63 73 |put Prod|uced:.cs|
|00003f70| 50 61 72 61 6d 5b 30 2d | 31 5d 09 41 64 64 72 65 |Param[0-|1].Addre|
|00003f80| 73 73 20 6f 66 20 49 43 | 4e 23 20 61 6e 64 20 6e |ss of IC|N# and n|
|00003f90| 61 6d 65 20 73 74 72 69 | 6e 67 0d 53 74 61 74 75 |ame stri|ng.Statu|
|00003fa0| 73 20 52 65 74 75 72 6e | 20 43 6f 64 65 73 3a 0d |s Return| Codes:.|
|00003fb0| 6e 6f 45 72 72 09 54 68 | 69 73 20 69 73 20 74 68 |noErr.Th|is is th|
|00003fc0| 65 20 6f 6e 6c 79 20 70 | 6f 73 73 69 62 6c 65 20 |e only p|ossible |
|00003fd0| 73 74 61 74 75 73 20 72 | 65 74 75 72 6e 20 63 6f |status r|eturn co|
|00003fe0| 64 65 2e 0d 47 65 74 4d | 65 64 69 61 49 63 6f 6e |de..GetM|ediaIcon|
|00003ff0| 20 28 63 73 43 6f 64 65 | 3d 32 32 29 0d 54 68 65 | (csCode|=22).The|
|00004000| 20 70 75 72 70 6f 73 65 | 20 6f 66 20 74 68 69 73 | purpose| of this|
|00004010| 20 63 61 6c 6c 20 69 73 | 20 74 6f 20 72 65 74 75 | call is| to retu|
|00004020| 72 6e 20 d4 49 43 4e 23 | d5 20 2d 73 74 79 6c 65 |rn .ICN#|. -style|
|00004030| 20 64 61 74 61 20 74 68 | 61 74 20 69 73 20 64 69 | data th|at is di|
|00004040| 73 70 6c 61 79 65 64 20 | 77 68 65 6e 65 76 65 72 |splayed |whenever|
|00004050| 20 74 68 65 20 64 69 73 | 63 20 6d 65 64 69 61 20 | the dis|c media |
|00004060| 69 73 20 73 68 6f 77 6e | 2e 20 54 68 69 73 20 69 |is shown|. This i|
|00004070| 63 6f 6e 20 63 61 6e 20 | 62 65 20 73 65 65 6e 20 |con can |be seen |
|00004080| 6f 6e 20 74 68 65 20 64 | 65 73 6b 74 6f 70 20 6f |on the d|esktop o|
|00004090| 72 20 77 68 65 6e 20 74 | 68 65 20 d2 47 65 74 20 |r when t|he .Get |
|000040a0| 49 6e 66 6f d3 20 28 11 | 2d 49 29 20 63 6f 6d 6d |Info. (.|-I) comm|
|000040b0| 61 6e 64 20 66 72 6f 6d | 20 74 68 65 20 46 69 6e |and from| the Fin|
|000040c0| 64 65 72 20 69 73 20 65 | 78 65 63 75 74 65 64 20 |der is e|xecuted |
|000040d0| 75 6e 64 65 72 20 53 79 | 73 74 65 6d 20 37 2e 20 |under Sy|stem 7. |
|000040e0| 53 65 65 20 66 69 67 75 | 72 65 20 31 20 66 6f 72 |See figu|re 1 for|
|000040f0| 20 61 20 70 69 63 74 75 | 72 65 20 6f 66 20 74 68 | a pictu|re of th|
|00004100| 65 20 69 63 6f 6e 20 72 | 65 74 75 72 6e 65 64 2e |e icon r|eturned.|
|00004110| 0d 49 6e 70 75 74 20 50 | 61 72 61 6d 65 74 65 72 |.Input P|arameter|
|00004120| 73 3a 0d 63 73 43 6f 64 | 65 09 32 32 0d 63 73 50 |s:.csCod|e.22.csP|
|00004130| 61 72 61 6d 5b 30 2d 31 | 30 5d 09 44 6f 6e d5 74 |aram[0-1|0].Don.t|
|00004140| 20 63 61 72 65 2e 0d 4f | 75 74 70 75 74 20 50 72 | care..O|utput Pr|
|00004150| 6f 64 75 63 65 64 3a 0d | 63 73 50 61 72 61 6d 5b |oduced:.|csParam[|
|00004160| 30 2d 31 5d 09 41 64 64 | 72 65 73 73 20 6f 66 20 |0-1].Add|ress of |
|00004170| 49 43 4e 23 20 61 6e 64 | 20 6e 61 6d 65 20 73 74 |ICN# and| name st|
|00004180| 72 69 6e 67 0d 53 74 61 | 74 75 73 20 52 65 74 75 |ring.Sta|tus Retu|
|00004190| 72 6e 20 43 6f 64 65 73 | 3a 0d 6e 6f 45 72 72 09 |rn Codes|:.noErr.|
|000041a0| 54 68 69 73 20 69 73 20 | 74 68 65 20 6f 6e 6c 79 |This is |the only|
|000041b0| 20 70 6f 73 73 69 62 6c | 65 20 73 74 61 74 75 73 | possibl|e status|
|000041c0| 20 72 65 74 75 72 6e 20 | 63 6f 64 65 2e 0d 44 72 | return |code..Dr|
|000041d0| 69 76 65 49 6e 66 6f 20 | 28 63 73 43 6f 64 65 3d |iveInfo |(csCode=|
|000041e0| 32 33 29 0d 54 68 65 20 | 70 75 72 70 6f 73 65 20 |23).The |purpose |
|000041f0| 6f 66 20 74 68 69 73 20 | 63 61 6c 6c 20 69 73 20 |of this |call is |
|00004200| 74 6f 20 72 65 74 75 72 | 6e 20 69 6e 66 6f 72 6d |to retur|n inform|
|00004210| 61 74 69 6f 6e 20 64 65 | 73 63 72 69 62 69 6e 67 |ation de|scribing|
|00004220| 20 64 72 69 76 65 20 63 | 68 61 72 61 63 74 65 72 | drive c|haracter|
|00004230| 69 73 74 69 63 73 20 66 | 6f 72 20 74 68 65 20 73 |istics f|or the s|
|00004240| 70 65 63 69 66 69 65 64 | 20 53 43 53 49 20 49 44 |pecified| SCSI ID|
|00004250| 2e 20 54 68 65 20 76 61 | 6c 75 65 73 20 74 6f 20 |. The va|lues to |
|00004260| 62 65 20 72 65 74 75 72 | 6e 65 64 20 61 72 65 20 |be retur|ned are |
|00004270| 64 65 66 69 6e 65 64 20 | 69 6e 20 49 6e 73 69 64 |defined |in Insid|
|00004280| 65 20 4d 61 63 69 6e 74 | 6f 73 68 2c 20 76 6f 6c |e Macint|osh, vol|
|00004290| 75 6d 65 20 56 2c 20 70 | 61 67 65 73 20 34 37 30 |ume V, p|ages 470|
|000042a0| 2d 34 37 31 2e 20 54 68 | 65 20 76 61 6c 75 65 20 |-471. Th|e value |
|000042b0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 74 68 65 20 |returned| by the |
|000042c0| 41 70 70 6c 65 20 43 44 | 2d 52 4f 4d 20 64 72 69 |Apple CD|-ROM dri|
|000042d0| 76 65 72 20 69 73 20 24 | 30 30 30 30 20 24 30 42 |ver is $|0000 $0B|
|000042e0| 30 31 2e 20 54 68 65 20 | 6c 6f 77 20 6f 72 64 65 |01. The |low orde|
|000042f0| 72 20 62 79 74 65 20 69 | 6e 64 69 63 61 74 65 73 |r byte i|ndicates|
|00004300| 20 75 6e 73 70 65 63 69 | 66 69 65 64 20 64 72 69 | unspeci|fied dri|
|00004310| 76 65 20 74 79 70 65 2e | 20 54 68 65 20 68 69 67 |ve type.| The hig|
|00004320| 68 20 6f 72 64 65 72 20 | 62 79 74 65 20 6f 66 20 |h order |byte of |
|00004330| 74 68 65 20 6c 6f 77 20 | 77 6f 72 64 20 69 6e 64 |the low |word ind|
|00004340| 69 63 61 74 65 73 20 65 | 78 74 65 72 6e 61 6c 20 |icates e|xternal |
|00004350| 64 72 69 76 65 20 28 74 | 68 69 73 20 69 73 20 73 |drive (t|his is s|
|00004360| 65 74 20 65 76 65 6e 20 | 69 66 20 74 68 65 20 64 |et even |if the d|
|00004370| 72 69 76 65 20 69 73 20 | 61 63 74 75 61 6c 6c 79 |rive is |actually|
|00004380| 20 6d 6f 75 6e 74 65 64 | 20 69 6e 74 65 72 6e 61 | mounted| interna|
|00004390| 6c 6c 79 29 2c 20 53 43 | 53 49 20 64 72 69 76 65 |lly), SC|SI drive|
|000043a0| 2c 20 72 65 6d 6f 76 61 | 62 6c 65 20 64 72 69 76 |, remova|ble driv|
|000043b0| 65 2c 20 61 6e 64 20 73 | 65 63 6f 6e 64 61 72 79 |e, and s|econdary|
|000043c0| 20 64 72 69 76 65 2e 0d | 49 6e 70 75 74 20 50 61 | drive..|Input Pa|
|000043d0| 72 61 6d 65 74 65 72 73 | 3a 0d 63 73 43 6f 64 65 |rameters|:.csCode|
|000043e0| 09 32 33 0d 63 73 50 61 | 72 61 6d 5b 30 2d 31 30 |.23.csPa|ram[0-10|
|000043f0| 5d 09 44 6f 6e d5 74 20 | 63 61 72 65 2e 0d 4f 75 |].Don.t |care..Ou|
|00004400| 74 70 75 74 20 50 72 6f | 64 75 63 65 64 3a 0d 63 |tput Pro|duced:.c|
|00004410| 73 50 61 72 61 6d 5b 30 | 5d 20 28 77 6f 72 64 29 |sParam[0|] (word)|
|00004420| 09 24 30 30 30 30 0d 63 | 73 50 61 72 61 6d 5b 31 |.$0000.c|sParam[1|
|00004430| 5d 20 28 77 6f 72 64 29 | 09 24 30 42 30 31 0d 53 |] (word)|.$0B01.S|
|00004440| 74 61 74 75 73 20 52 65 | 74 75 72 6e 20 43 6f 64 |tatus Re|turn Cod|
|00004450| 65 73 3a 0d 6e 6f 45 72 | 72 09 54 68 69 73 20 69 |es:.noEr|r.This i|
|00004460| 73 20 74 68 65 20 6f 6e | 6c 79 20 70 6f 73 73 69 |s the on|ly possi|
|00004470| 62 6c 65 20 73 74 61 74 | 75 73 20 72 65 74 75 72 |ble stat|us retur|
|00004480| 6e 20 63 6f 64 65 2e 0d | 61 63 63 52 75 6e 20 28 |n code..|accRun (|
|00004490| 63 73 43 6f 64 65 3d 36 | 35 29 0d 54 68 65 72 65 |csCode=6|5).There|
|000044a0| 20 69 73 20 6e 6f 20 6e | 65 65 64 20 66 6f 72 20 | is no n|eed for |
|000044b0| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |an appli|cation t|
|000044c0| 6f 20 69 73 73 75 65 20 | 74 68 69 73 20 63 61 6c |o issue |this cal|
|000044d0| 6c 2e 20 54 68 69 73 20 | 63 61 6c 6c 20 69 73 20 |l. This |call is |
|000044e0| 6d 61 64 65 20 6f 6e 20 | 61 20 72 65 67 75 6c 61 |made on |a regula|
|000044f0| 72 20 62 61 73 69 73 20 | 62 79 20 74 68 65 20 6f |r basis |by the o|
|00004500| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 2c |perating| system,|
|00004510| 20 62 61 73 65 64 20 6f | 6e 20 74 68 65 20 64 4e | based o|n the dN|
|00004520| 65 65 64 73 54 69 6d 65 | 20 66 6c 61 67 20 69 6e |eedsTime| flag in|
|00004530| 20 74 68 65 20 64 43 74 | 6c 46 6c 61 67 73 20 65 | the dCt|lFlags e|
|00004540| 6e 74 72 79 20 69 6e 20 | 74 68 65 20 44 65 76 69 |ntry in |the Devi|
|00004550| 63 65 20 43 6f 6e 74 72 | 6f 6c 20 45 6e 74 72 79 |ce Contr|ol Entry|
|00004560| 20 28 44 43 45 29 20 66 | 6f 72 20 74 68 65 20 41 | (DCE) f|or the A|
|00004570| 70 70 6c 65 20 43 44 2d | 52 4f 4d 20 64 72 69 76 |pple CD-|ROM driv|
|00004580| 65 72 2e 20 54 68 65 20 | 70 75 72 70 6f 73 65 20 |er. The |purpose |
|00004590| 6f 66 20 74 68 69 73 20 | 63 61 6c 6c 20 69 73 20 |of this |call is |
|000045a0| 74 6f 20 70 65 72 66 6f | 72 6d 20 6f 70 65 72 61 |to perfo|rm opera|
|000045b0| 74 69 6f 6e 73 20 72 65 | 71 75 69 72 65 64 20 62 |tions re|quired b|
|000045c0| 79 20 74 68 65 20 64 72 | 69 76 65 72 20 6f 6e 20 |y the dr|iver on |
|000045d0| 61 6e 20 d2 61 73 20 6e | 65 65 64 65 64 d3 20 62 |an .as n|eeded. b|
|000045e0| 61 73 69 73 2e 20 53 69 | 6e 63 65 20 74 68 65 20 |asis. Si|nce the |
|000045f0| 43 44 2d 52 4f 4d 20 64 | 65 76 69 63 65 20 69 73 |CD-ROM d|evice is|
|00004600| 20 61 20 72 65 6d 6f 76 | 61 62 6c 65 20 6d 65 64 | a remov|able med|
|00004610| 69 61 20 64 65 76 69 63 | 65 20 61 6e 64 20 64 6f |ia devic|e and do|
|00004620| 65 73 20 6e 6f 74 20 67 | 65 6e 65 72 61 74 65 20 |es not g|enerate |
|00004630| 69 6e 74 65 72 72 75 70 | 74 73 20 77 68 65 6e 20 |interrup|ts when |
|00004640| 61 20 64 69 73 63 20 69 | 73 20 69 6e 73 65 72 74 |a disc i|s insert|
|00004650| 65 64 2c 20 74 68 65 20 | 6f 6e 6c 79 20 77 61 79 |ed, the |only way|
|00004660| 20 74 6f 20 64 65 74 65 | 63 74 20 74 68 65 20 66 | to dete|ct the f|
|00004670| 61 63 74 20 74 68 61 74 | 20 61 20 64 69 73 63 20 |act that| a disc |
|00004680| 68 61 73 20 62 65 65 6e | 20 69 6e 73 65 72 74 65 |has been| inserte|
|00004690| 64 20 69 73 20 74 6f 20 | 6f 63 63 61 73 69 6f 6e |d is to |occasion|
|000046a0| 61 6c 6c 79 20 70 6f 6c | 6c 20 61 6c 6c 20 64 65 |ally pol|l all de|
|000046b0| 76 69 63 65 73 20 74 68 | 61 74 20 74 68 65 20 64 |vices th|at the d|
|000046c0| 72 69 76 65 72 20 6c 61 | 73 74 20 64 65 74 65 72 |river la|st deter|
|000046d0| 6d 69 6e 65 64 20 64 69 | 64 20 6e 6f 74 20 68 61 |mined di|d not ha|
|000046e0| 76 65 20 61 20 64 69 73 | 63 20 69 6e 73 65 72 74 |ve a dis|c insert|
|000046f0| 65 64 2e 20 41 6c 6d 6f | 73 74 20 61 6c 6c 20 4d |ed. Almo|st all M|
|00004700| 61 63 69 6e 74 6f 73 68 | 20 70 72 6f 67 72 61 6d |acintosh| program|
|00004710| 73 20 6d 61 6b 65 20 61 | 20 63 61 6c 6c 20 74 6f |s make a| call to|
|00004720| 20 74 68 65 20 4d 61 63 | 4f 53 20 72 6f 75 74 69 | the Mac|OS routi|
|00004730| 6e 65 20 53 79 73 74 65 | 6d 54 61 73 6b 28 29 2c |ne Syste|mTask(),|
|00004740| 20 61 6e 64 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 | and one| of the |
|00004750| 66 75 6e 63 74 69 6f 6e | 73 20 6f 66 20 74 68 61 |function|s of tha|
|00004760| 74 20 72 6f 75 74 69 6e | 65 20 69 73 20 74 6f 20 |t routin|e is to |
|00004770| 6f 63 63 61 73 69 6f 6e | 61 6c 6c 79 20 6d 61 6b |occasion|ally mak|
|00004780| 65 20 73 6f 6d 65 20 43 | 50 55 20 74 69 6d 65 20 |e some C|PU time |
|00004790| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 61 6c 6c |availabl|e to all|
|000047a0| 20 64 65 76 69 63 65 73 | 20 74 68 61 74 20 72 65 | devices| that re|
|000047b0| 71 75 65 73 74 20 69 74 | 2e 20 54 68 69 73 20 69 |quest it|. This i|
|000047c0| 73 20 64 6f 6e 65 20 62 | 79 20 73 65 74 74 69 6e |s done b|y settin|
|000047d0| 67 20 74 68 65 20 64 4e | 65 65 64 54 69 6d 65 20 |g the dN|eedTime |
|000047e0| 66 6c 61 67 20 69 6e 20 | 74 68 65 20 44 65 76 69 |flag in |the Devi|
|000047f0| 63 65 20 43 6f 6e 74 72 | 6f 6c 20 45 6e 74 72 79 |ce Contr|ol Entry|
|00004800| 20 28 44 43 45 29 20 66 | 6f 72 20 61 20 67 69 76 | (DCE) f|or a giv|
|00004810| 65 6e 20 64 65 76 69 63 | 65 2e 0d 54 65 73 74 69 |en devic|e..Testi|
|00004820| 6e 67 20 66 6f 72 20 64 | 69 73 63 20 69 6e 73 65 |ng for d|isc inse|
|00004830| 72 74 69 6f 6e 73 20 69 | 73 20 74 68 65 20 6d 61 |rtions i|s the ma|
|00004840| 69 6e 20 66 75 6e 63 74 | 69 6f 6e 20 70 72 6f 76 |in funct|ion prov|
|00004850| 69 64 65 64 20 62 79 20 | 74 68 69 73 20 43 6f 6e |ided by |this Con|
|00004860| 74 72 6f 6c 20 63 61 6c | 6c 2e 20 61 63 63 52 75 |trol cal|l. accRu|
|00004870| 6e 20 61 6c 73 6f 20 68 | 61 6e 64 6c 65 73 20 73 |n also h|andles s|
|00004880| 6f 6d 65 20 6f 74 68 65 | 72 20 66 75 6e 63 74 69 |ome othe|r functi|
|00004890| 6f 6e 73 20 6f 6e 20 61 | 20 6f 6e 65 2d 74 69 6d |ons on a| one-tim|
|000048a0| 65 20 62 61 73 69 73 2e | 20 44 75 72 69 6e 67 20 |e basis.| During |
|000048b0| 74 68 65 20 4d 61 63 69 | 6e 74 6f 73 68 20 62 6f |the Maci|ntosh bo|
|000048c0| 6f 74 20 70 72 6f 63 65 | 73 73 20 69 66 20 74 68 |ot proce|ss if th|
|000048d0| 65 20 64 72 69 76 65 72 | 20 69 73 20 69 6e 73 74 |e driver| is inst|
|000048e0| 61 6c 6c 65 64 20 62 65 | 66 6f 72 65 20 74 68 65 |alled be|fore the|
|000048f0| 20 53 79 73 74 65 6d 20 | 66 69 6c 65 20 69 73 20 | System |file is |
|00004900| 72 65 61 64 20 69 6e 2c | 20 74 68 65 20 64 72 69 |read in,| the dri|
|00004910| 76 65 72 20 63 61 6e 6e | 6f 74 20 69 6e 73 74 61 |ver cann|ot insta|
|00004920| 6c 6c 20 69 74 73 20 63 | 75 73 74 6f 6d 20 43 44 |ll its c|ustom CD|
|00004930| 2d 52 4f 4d 20 44 69 73 | 6b 20 53 77 69 74 63 68 |-ROM Dis|k Switch|
|00004940| 20 73 75 62 72 6f 75 74 | 69 6e 65 2e 20 54 68 69 | subrout|ine. Thi|
|00004950| 73 20 69 73 20 62 65 63 | 61 75 73 65 20 77 68 65 |s is bec|ause whe|
|00004960| 6e 20 74 68 65 20 53 79 | 73 74 65 6d 20 66 69 6c |n the Sy|stem fil|
|00004970| 65 20 69 73 20 72 65 61 | 64 20 69 6e 20 61 6e 64 |e is rea|d in and|
|00004980| 20 69 6e 73 74 61 6c 6c | 65 64 20 69 74 20 77 69 | install|ed it wi|
|00004990| 6c 6c 20 6f 76 65 72 77 | 72 69 74 65 20 74 68 65 |ll overw|rite the|
|000049a0| 20 6c 6f 77 20 6d 65 6d | 6f 72 79 20 67 6c 6f 62 | low mem|ory glob|
|000049b0| 61 6c 20 74 68 61 74 20 | 64 65 66 69 6e 65 73 20 |al that |defines |
|000049c0| 74 68 65 20 61 64 64 72 | 65 73 73 20 6f 66 20 74 |the addr|ess of t|
|000049d0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 44 69 73 6b |he stand|ard Disk|
|000049e0| 20 53 77 69 74 63 68 20 | 72 6f 75 74 69 6e 65 2e | Switch |routine.|
|000049f0| 20 53 6f 2c 20 74 68 65 | 20 69 6e 73 74 61 6c 6c | So, the| install|
|00004a00| 61 74 69 6f 6e 20 6f 66 | 20 6f 75 72 20 63 75 73 |ation of| our cus|
|00004a10| 74 6f 6d 20 44 69 73 6b | 20 53 77 69 74 63 68 20 |tom Disk| Switch |
|00004a20| 72 6f 75 74 69 6e 65 20 | 69 73 20 68 65 6c 64 20 |routine |is held |
|00004a30| 6f 66 66 20 75 6e 74 69 | 6c 20 74 68 65 20 66 69 |off unti|l the fi|
|00004a40| 72 73 74 20 69 6e 76 6f | 63 61 74 69 6f 6e 20 6f |rst invo|cation o|
|00004a50| 66 20 53 79 73 74 65 6d | 54 61 73 6b 28 29 20 74 |f System|Task() t|
|00004a60| 6f 20 6d 61 6b 65 20 73 | 75 72 65 20 74 68 61 74 |o make s|ure that|
|00004a70| 20 74 68 65 20 53 79 73 | 74 65 6d 20 66 69 6c 65 | the Sys|tem file|
|00004a80| 20 68 61 73 20 61 6c 72 | 65 61 64 79 20 62 65 65 | has alr|eady bee|
|00004a90| 6e 20 6c 6f 61 64 65 64 | 20 61 6e 64 20 74 68 65 |n loaded| and the|
|00004aa0| 20 73 74 61 6e 64 61 72 | 64 20 44 69 73 6b 20 53 | standar|d Disk S|
|00004ab0| 77 69 74 63 68 20 72 6f | 75 74 69 6e 65 20 68 61 |witch ro|utine ha|
|00004ac0| 73 20 62 65 65 6e 20 69 | 6e 69 74 69 61 6c 69 7a |s been i|nitializ|
|00004ad0| 65 64 2e 0d 49 6e 70 75 | 74 20 50 61 72 61 6d 65 |ed..Inpu|t Parame|
|00004ae0| 74 65 72 73 3a 0d 63 73 | 43 6f 64 65 09 36 35 0d |ters:.cs|Code.65.|
|00004af0| 63 73 50 61 72 61 6d 5b | 5d 09 44 6f 6e d5 74 20 |csParam[|].Don.t |
|00004b00| 63 61 72 65 2e 0d 53 74 | 61 74 75 73 20 52 65 74 |care..St|atus Ret|
|00004b10| 75 72 6e 20 43 6f 64 65 | 73 3a 0d 6e 6f 45 72 72 |urn Code|s:.noErr|
|00004b20| 09 54 68 69 73 20 69 73 | 20 74 68 65 20 6f 6e 6c |.This is| the onl|
|00004b30| 79 20 70 6f 73 73 69 62 | 6c 65 20 73 74 61 74 75 |y possib|le statu|
|00004b40| 73 20 72 65 74 75 72 6e | 20 63 6f 64 65 2e 0d 4d |s return| code..M|
|00004b50| 6f 64 69 66 79 50 6f 73 | 74 45 76 65 6e 74 20 28 |odifyPos|tEvent (|
|00004b60| 63 73 43 6f 64 65 3d 37 | 36 29 0d 54 68 65 20 70 |csCode=7|6).The p|
|00004b70| 75 72 70 6f 73 65 20 6f | 66 20 74 68 69 73 20 63 |urpose o|f this c|
|00004b80| 61 6c 6c 20 69 73 20 74 | 6f 20 61 6c 6c 6f 77 20 |all is t|o allow |
|00004b90| 61 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 74 |an appli|cation t|
|00004ba0| 6f 20 6d 6f 64 69 66 79 | 20 74 68 65 20 64 72 69 |o modify| the dri|
|00004bb0| 76 65 72 d5 73 20 62 65 | 68 61 76 69 6f 72 20 77 |ver.s be|havior w|
|00004bc0| 68 65 6e 20 6e 6f 6e 2d | 48 46 53 20 64 69 73 63 |hen non-|HFS disc|
|00004bd0| 73 20 61 72 65 20 69 6e | 73 65 72 74 65 64 20 69 |s are in|serted i|
|00004be0| 6e 74 6f 20 74 68 65 20 | 43 44 2d 52 4f 4d 20 64 |nto the |CD-ROM d|
|00004bf0| 72 69 76 65 2e 20 54 68 | 65 20 64 65 66 61 75 6c |rive. Th|e defaul|
|00004c00| 74 20 61 63 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |t action| of the |
|00004c10| 64 72 69 76 65 72 20 69 | 73 20 74 6f 20 70 6f 73 |driver i|s to pos|
|00004c20| 74 20 61 20 64 69 73 63 | 2d 69 6e 73 65 72 74 65 |t a disc|-inserte|
|00004c30| 64 20 65 76 65 6e 74 20 | 66 6f 72 20 61 6c 6c 20 |d event |for all |
|00004c40| 64 69 73 63 73 20 74 68 | 61 74 20 61 72 65 20 69 |discs th|at are i|
|00004c50| 6e 73 65 72 74 65 64 20 | 69 6e 74 6f 20 74 68 65 |nserted |into the|
|00004c60| 20 43 44 2d 52 4f 4d 20 | 64 72 69 76 65 2c 20 72 | CD-ROM |drive, r|
|00004c70| 65 67 61 72 64 6c 65 73 | 73 20 6f 66 20 77 68 65 |egardles|s of whe|
|00004c80| 74 68 65 72 20 6f 72 20 | 6e 6f 74 20 74 68 65 20 |ther or |not the |
|00004c90| 64 69 73 63 20 61 63 74 | 75 61 6c 6c 79 20 63 6f |disc act|ually co|
|00004ca0| 6e 74 61 69 6e 73 20 76 | 61 6c 69 64 20 70 61 72 |ntains v|alid par|
|00004cb0| 74 69 74 69 6f 6e 20 69 | 6e 66 6f 72 6d 61 74 69 |tition i|nformati|
|00004cc0| 6f 6e 20 61 6e 64 20 48 | 46 53 20 66 69 6c 65 20 |on and H|FS file |
|00004cd0| 73 79 73 74 65 6d 2e 20 | 54 68 65 72 65 20 6d 61 |system. |There ma|
|00004ce0| 79 20 62 65 20 73 6f 6d | 65 20 72 65 61 73 6f 6e |y be som|e reason|
|00004cf0| 20 77 68 79 20 74 68 65 | 20 64 72 69 76 65 72 20 | why the| driver |
|00004d00| 73 68 6f 75 6c 64 20 6e | 6f 74 20 70 6f 73 74 20 |should n|ot post |
|00004d10| 74 68 65 20 64 69 73 63 | 2d 69 6e 73 65 72 74 65 |the disc|-inserte|
|00004d20| 64 20 65 76 65 6e 74 20 | 61 6e 64 20 74 68 69 73 |d event |and this|
|00004d30| 20 63 61 6c 6c 20 61 6c | 6c 6f 77 73 20 74 68 61 | call al|lows tha|
|00004d40| 74 20 d2 66 65 61 74 75 | 72 65 d3 20 74 6f 20 62 |t .featu|re. to b|
|00004d50| 65 20 74 75 72 6e 65 64 | 20 6f 66 66 2e 20 57 68 |e turned| off. Wh|
|00004d60| 65 6e 20 74 68 69 73 20 | 66 65 61 74 75 72 65 20 |en this |feature |
|00004d70| 69 73 20 74 75 72 6e 65 | 64 20 6f 66 66 20 66 6f |is turne|d off fo|
|00004d80| 72 20 61 20 73 70 65 63 | 69 66 69 65 64 20 53 43 |r a spec|ified SC|
|00004d90| 53 49 20 49 44 2c 20 69 | 74 20 77 69 6c 6c 20 73 |SI ID, i|t will s|
|00004da0| 74 61 79 20 6f 66 66 20 | 75 6e 74 69 6c 20 69 74 |tay off |until it|
|00004db0| 20 69 73 20 72 65 61 63 | 74 69 76 61 74 65 64 20 | is reac|tivated |
|00004dc0| 28 76 69 61 20 61 6e 6f | 74 68 65 72 20 63 61 6c |(via ano|ther cal|
|00004dd0| 6c 20 74 6f 20 4d 6f 64 | 69 66 79 50 6f 73 74 45 |l to Mod|ifyPostE|
|00004de0| 76 65 6e 74 29 20 6f 72 | 20 75 6e 74 69 6c 20 74 |vent) or| until t|
|00004df0| 68 65 20 6d 61 63 68 69 | 6e 65 20 69 73 20 72 65 |he machi|ne is re|
|00004e00| 73 74 61 72 74 65 64 2e | 0d 49 6e 70 75 74 20 50 |started.|.Input P|
|00004e10| 61 72 61 6d 65 74 65 72 | 73 3a 0d 63 73 43 6f 64 |arameter|s:.csCod|
|00004e20| 65 09 37 36 0d 63 73 50 | 61 72 61 6d 5b 30 5d 09 |e.76.csP|aram[0].|
|00004e30| 30 09 44 6f 20 6e 6f 74 | 20 69 73 73 75 65 20 64 |0.Do not| issue d|
|00004e40| 69 73 63 2d 69 6e 73 65 | 72 74 20 65 76 65 6e 74 |isc-inse|rt event|
|00004e50| 73 20 66 6f 72 20 6e 6f | 6e 2d 48 46 53 20 43 44 |s for no|n-HFS CD|
|00004e60| 2d 52 4f 4d 73 0d 09 ad | 20 30 09 49 73 73 75 65 |-ROMs...| 0.Issue|
|00004e70| 20 64 69 73 63 2d 69 6e | 73 65 72 74 20 65 76 65 | disc-in|sert eve|
|00004e80| 6e 74 73 20 66 6f 72 20 | 6e 6f 6e 2d 48 46 53 20 |nts for |non-HFS |
|00004e90| 43 44 2d 52 4f 4d 20 64 | 69 73 63 73 0d 63 73 50 |CD-ROM d|iscs.csP|
|00004ea0| 61 72 61 6d 5b 31 2d 31 | 30 5d 09 09 52 65 73 65 |aram[1-1|0]..Rese|
|00004eb0| 72 76 65 64 20 66 6f 72 | 20 66 75 74 75 72 65 20 |rved for| future |
|00004ec0| 75 73 65 20 2d 20 6d 75 | 73 74 20 62 65 20 7a 65 |use - mu|st be ze|
|00004ed0| 72 6f 20 28 30 29 2e 0d | 53 74 61 74 75 73 20 52 |ro (0)..|Status R|
|00004ee0| 65 74 75 72 6e 20 43 6f | 64 65 73 3a 0d 6e 6f 45 |eturn Co|des:.noE|
|00004ef0| 72 72 09 09 54 68 69 73 | 20 69 73 20 74 68 65 20 |rr..This| is the |
|00004f00| 6f 6e 6c 79 20 70 6f 73 | 73 69 62 6c 65 20 73 74 |only pos|sible st|
|00004f10| 61 74 75 73 20 72 65 74 | 75 72 6e 20 63 6f 64 65 |atus ret|urn code|
|00004f20| 2e 0d 43 68 61 6e 67 65 | 42 6c 6f 63 6b 53 69 7a |..Change|BlockSiz|
|00004f30| 65 20 28 63 73 43 6f 64 | 65 3d 37 39 29 0d 54 68 |e (csCod|e=79).Th|
|00004f40| 65 20 70 75 72 70 6f 73 | 65 20 6f 66 20 74 68 69 |e purpos|e of thi|
|00004f50| 73 20 63 61 6c 6c 20 69 | 73 20 74 6f 20 61 6c 6c |s call i|s to all|
|00004f60| 6f 77 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |ow an ap|plicatio|
|00004f70| 6e 20 74 6f 20 6d 6f 64 | 69 66 79 20 74 68 65 20 |n to mod|ify the |
|00004f80| d2 62 6c 6f 63 6b 20 73 | 69 7a 65 d3 20 74 68 65 |.block s|ize. the|
|00004f90| 20 64 72 69 76 65 20 69 | 73 20 63 75 72 72 65 6e | drive i|s curren|
|00004fa0| 74 6c 79 20 75 73 69 6e | 67 20 74 6f 20 72 65 61 |tly usin|g to rea|
|00004fb0| 64 20 64 61 74 61 20 77 | 69 74 68 2e 20 54 68 65 |d data w|ith. The|
|00004fc0| 20 73 74 61 6e 64 61 72 | 64 20 48 46 53 20 66 69 | standar|d HFS fi|
|00004fd0| 6c 65 20 73 79 73 74 65 | 6d 20 62 6c 6f 63 6b 20 |le syste|m block |
|00004fe0| 73 69 7a 65 20 69 73 20 | 35 31 32 20 62 79 74 65 |size is |512 byte|
|00004ff0| 73 2f 62 6c 6f 63 6b 2e | 20 41 70 70 6c 69 63 61 |s/block.| Applica|
|00005000| 74 69 6f 6e 73 20 61 6e | 64 20 66 69 6c 65 20 73 |tions an|d file s|
|00005010| 79 73 74 65 6d 20 74 72 | 61 6e 73 6c 61 74 6f 72 |ystem tr|anslator|
|00005020| 73 20 64 65 61 6c 69 6e | 67 20 77 69 74 68 20 6e |s dealin|g with n|
|00005030| 6f 6e 2d 48 46 53 20 66 | 69 6c 65 20 73 79 73 74 |on-HFS f|ile syst|
|00005040| 65 6d 73 20 6d 61 79 20 | 72 65 71 75 69 72 65 20 |ems may |require |
|00005050| 6f 74 68 65 72 20 62 6c | 6f 63 6b 20 73 69 7a 65 |other bl|ock size|
|00005060| 73 20 74 6f 20 72 65 61 | 64 20 74 68 65 69 72 20 |s to rea|d their |
|00005070| 64 61 74 61 20 63 6f 72 | 72 65 63 74 6c 79 2e 20 |data cor|rectly. |
|00005080| 54 68 65 20 41 70 70 6c | 65 20 43 44 20 53 43 20 |The Appl|e CD SC |
|00005090| 63 61 6e 20 68 61 6e 64 | 6c 65 20 62 6c 6f 63 6b |can hand|le block|
|000050a0| 20 73 69 7a 65 73 20 6f | 66 20 32 35 36 2c 20 35 | sizes o|f 256, 5|
|000050b0| 31 32 2c 20 31 30 32 34 | 2c 20 32 30 34 38 2c 20 |12, 1024|, 2048, |
|000050c0| 32 33 33 36 20 61 6e 64 | 20 32 33 34 30 20 62 79 |2336 and| 2340 by|
|000050d0| 74 65 73 2e 20 49 6e 20 | 61 64 64 69 74 69 6f 6e |tes. In |addition|
|000050e0| 2c 20 74 68 65 20 43 44 | 20 53 43 20 50 6c 75 73 |, the CD| SC Plus|
|000050f0| 20 64 72 69 76 65 20 63 | 61 6e 20 68 61 6e 64 6c | drive c|an handl|
|00005100| 65 20 61 20 62 6c 6f 63 | 6b 20 73 69 7a 65 20 6f |e a bloc|k size o|
|00005110| 66 20 32 30 35 36 20 62 | 79 74 65 73 2e 20 49 6e |f 2056 b|ytes. In|
|00005120| 20 61 64 64 69 74 69 6f | 6e 2c 20 74 68 65 20 43 | additio|n, the C|
|00005130| 44 20 33 30 30 20 61 6e | 64 20 43 44 20 33 30 30 |D 300 an|d CD 300|
|00005140| 20 50 6c 75 73 20 63 61 | 6e 20 68 61 6e 64 6c 65 | Plus ca|n handle|
|00005150| 20 62 6c 6f 63 6b 20 73 | 69 7a 65 73 20 6f 66 20 | block s|izes of |
|00005160| 32 33 35 32 2c 20 32 36 | 34 36 2c 20 61 6e 64 20 |2352, 26|46, and |
|00005170| 32 36 34 37 2e 20 54 68 | 65 20 43 44 20 33 30 30 |2647. Th|e CD 300|
|00005180| 20 61 6e 64 20 43 44 20 | 33 30 30 20 50 6c 75 73 | and CD |300 Plus|
|00005190| 20 63 61 6e 6e 6f 74 20 | 68 61 6e 64 6c 65 20 61 | cannot |handle a|
|000051a0| 20 62 6c 6f 63 6b 20 73 | 69 7a 65 20 6f 66 20 32 | block s|ize of 2|
|000051b0| 35 36 2e 0d 46 6f 72 20 | 74 68 6f 73 65 20 62 6c |56..For |those bl|
|000051c0| 6f 63 6b 20 73 69 7a 65 | 73 20 67 72 65 61 74 65 |ock size|s greate|
|000051d0| 72 20 74 68 61 6e 20 32 | 30 34 38 20 62 79 74 65 |r than 2|048 byte|
|000051e0| 73 2c 20 73 70 65 63 69 | 61 6c 20 63 6f 6e 73 69 |s, speci|al consi|
|000051f0| 64 65 72 61 74 69 6f 6e | 20 69 73 20 67 69 76 65 |deration| is give|
|00005200| 6e 20 74 6f 20 74 68 65 | 20 44 43 52 20 62 69 74 |n to the| DCR bit|
|00005210| 20 69 6e 20 74 68 65 20 | 45 72 72 6f 72 20 52 65 | in the |Error Re|
|00005220| 63 6f 76 65 72 79 20 50 | 61 72 61 6d 65 74 65 72 |covery P|arameter|
|00005230| 73 20 70 61 67 65 20 74 | 6f 20 65 6e 61 62 6c 65 |s page t|o enable|
|00005240| 2f 64 69 73 61 62 6c 65 | 20 6c 61 79 65 72 65 64 |/disable| layered|
|00005250| 20 45 43 43 2e 20 46 6f | 72 20 74 68 65 20 43 44 | ECC. Fo|r the CD|
|00005260| 20 53 43 2c 20 74 68 65 | 20 62 69 74 20 69 73 20 | SC, the| bit is |
|00005270| 73 65 74 20 74 6f 20 31 | 20 74 6f 20 64 69 73 61 |set to 1| to disa|
|00005280| 62 6c 65 20 45 43 43 2e | 20 57 69 74 68 6f 75 74 |ble ECC.| Without|
|00005290| 20 74 68 69 73 2c 20 61 | 63 63 65 73 73 69 6e 67 | this, a|ccessing|
|000052a0| 20 4d 6f 64 65 20 32 20 | 64 61 74 61 20 62 6c 6f | Mode 2 |data blo|
|000052b0| 63 6b 73 20 77 69 74 68 | 20 61 20 62 6c 6f 63 6b |cks with| a block|
|000052c0| 20 73 69 7a 65 20 67 72 | 65 61 74 65 72 20 74 68 | size gr|eater th|
|000052d0| 61 6e 20 32 30 34 38 20 | 77 6f 75 6c 64 20 63 72 |an 2048 |would cr|
|000052e0| 65 61 74 65 20 61 20 43 | 68 65 63 6b 20 43 6f 6e |eate a C|heck Con|
|000052f0| 64 69 74 69 6f 6e 20 65 | 72 72 6f 72 20 72 65 73 |dition e|rror res|
|00005300| 70 6f 6e 73 65 20 62 79 | 20 74 68 65 20 64 72 69 |ponse by| the dri|
|00005310| 76 65 2e 20 46 6f 72 20 | 61 6c 6c 20 6f 74 68 65 |ve. For |all othe|
|00005320| 72 20 64 72 69 76 65 73 | 2c 20 69 66 20 74 68 65 |r drives|, if the|
|00005330| 72 65 20 69 73 20 61 20 | 43 44 2d 49 20 6f 72 20 |re is a |CD-I or |
|00005340| 58 41 20 64 69 73 63 20 | 69 6e 73 65 72 74 65 64 |XA disc |inserted|
|00005350| 2c 20 74 68 65 20 45 43 | 43 20 77 69 6c 6c 20 62 |, the EC|C will b|
|00005360| 65 20 65 6e 61 62 6c 65 | 64 2e 20 46 6f 72 20 61 |e enable|d. For a|
|00005370| 6c 6c 20 6f 74 68 65 72 | 20 64 69 73 63 73 20 6f |ll other| discs o|
|00005380| 72 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |r if the|re is no|
|00005390| 20 6d 65 64 69 61 20 69 | 6e 73 65 72 74 65 64 2c | media i|nserted,|
|000053a0| 20 74 68 65 20 45 43 43 | 20 77 69 6c 6c 20 62 65 | the ECC| will be|
|000053b0| 20 74 75 72 6e 65 64 20 | 6f 66 66 2e 20 54 68 65 | turned |off. The|
|000053c0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 74 61 62 6c 65 | followi|ng table|
|000053d0| 73 20 73 68 6f 77 20 74 | 68 65 20 74 79 70 65 20 |s show t|he type |
|000053e0| 6f 66 20 64 61 74 61 20 | 74 68 61 74 20 69 73 20 |of data |that is |
|000053f0| 72 65 74 75 72 6e 65 64 | 20 66 6f 72 20 65 61 63 |returned| for eac|
|00005400| 68 20 6f 66 20 74 68 65 | 20 76 61 6c 69 64 20 62 |h of the| valid b|
|00005410| 6c 6f 63 6b 20 73 69 7a | 65 73 3a 0d 43 44 2d 52 |lock siz|es:.CD-R|
|00005420| 4f 4d 20 4d 6f 64 65 20 | 31 20 44 61 74 61 20 46 |OM Mode |1 Data F|
|00005430| 6f 72 6d 61 74 3a 0d 42 | 6c 6f 63 6b 20 53 69 7a |ormat:.B|lock Siz|
|00005440| 65 0d 28 62 79 74 65 73 | 29 09 42 6c 6f 63 6b 20 |e.(bytes|).Block |
|00005450| 43 6f 6e 74 65 6e 74 73 | 20 28 73 69 7a 65 20 69 |Contents| (size i|
|00005460| 6e 20 62 79 74 65 73 29 | 09 0d 32 35 36 09 55 73 |n bytes)|..256.Us|
|00005470| 65 72 20 64 61 74 61 20 | 28 32 35 36 29 09 0d 35 |er data |(256)..5|
|00005480| 31 32 09 55 73 65 72 20 | 64 61 74 61 20 28 35 31 |12.User |data (51|
|00005490| 32 29 09 0d 31 30 32 34 | 09 55 73 65 72 20 64 61 |2)..1024|.User da|
|000054a0| 74 61 20 28 31 30 32 34 | 29 09 0d 32 30 34 38 09 |ta (1024|)..2048.|
|000054b0| 55 73 65 72 20 64 61 74 | 61 20 28 32 30 34 38 29 |User dat|a (2048)|
|000054c0| 09 0d 32 33 33 36 09 55 | 73 65 72 20 64 61 74 61 |..2336.U|ser data|
|000054d0| 20 28 32 30 34 38 29 20 | 2b 20 45 44 43 20 28 34 | (2048) |+ EDC (4|
|000054e0| 29 20 2b 20 5a 65 72 6f | 20 28 38 29 09 0d 32 33 |) + Zero| (8)..23|
|000054f0| 34 30 09 48 65 61 64 65 | 72 20 28 34 29 20 2b 20 |40.Heade|r (4) + |
|00005500| 55 73 65 72 20 64 61 74 | 61 20 28 32 30 34 38 29 |User dat|a (2048)|
|00005510| 20 2b 20 45 44 43 20 28 | 34 29 20 2b 20 5a 65 72 | + EDC (|4) + Zer|
|00005520| 6f 20 28 38 29 20 2b 20 | 45 43 43 20 28 32 37 36 |o (8) + |ECC (276|
|00005530| 29 09 0d 32 33 35 32 09 | 53 79 6e 63 20 28 31 32 |)..2352.|Sync (12|
|00005540| 29 20 2b 20 48 65 61 64 | 65 72 20 28 34 29 20 2b |) + Head|er (4) +|
|00005550| 20 55 73 65 72 20 64 61 | 74 61 20 28 32 30 34 38 | User da|ta (2048|
|00005560| 29 20 2b 20 45 44 43 20 | 28 34 29 20 2b 20 5a 65 |) + EDC |(4) + Ze|
|00005570| 72 6f 20 28 38 29 20 2b | 20 45 43 43 ca 28 32 37 |ro (8) +| ECC.(27|
|00005580| 36 29 09 0d 0d 43 44 2d | 52 4f 4d 20 4d 6f 64 65 |6)...CD-|ROM Mode|
|00005590| 20 32 20 44 61 74 61 20 | 46 6f 72 6d 61 74 3a 0d | 2 Data |Format:.|
|000055a0| 42 6c 6f 63 6b 20 53 69 | 7a 65 0d 28 62 79 74 65 |Block Si|ze.(byte|
|000055b0| 73 29 09 42 6c 6f 63 6b | 20 43 6f 6e 74 65 6e 74 |s).Block| Content|
|000055c0| 73 20 28 73 69 7a 65 20 | 69 6e 20 62 79 74 65 73 |s (size |in bytes|
|000055d0| 29 09 0d 32 33 33 36 09 | 4d 6f 64 65 20 32 20 55 |)..2336.|Mode 2 U|
|000055e0| 73 65 72 20 64 61 74 61 | 20 28 32 33 33 36 29 09 |ser data| (2336).|
|000055f0| 0d 32 33 34 30 09 48 65 | 61 64 65 72 20 28 34 29 |.2340.He|ader (4)|
|00005600| 20 2b 20 4d 6f 64 65 20 | 32 20 55 73 65 72 20 64 | + Mode |2 User d|
|00005610| 61 74 61 20 28 32 33 33 | 36 29 09 0d 32 33 35 32 |ata (233|6)..2352|
|00005620| 09 53 79 6e 63 20 28 31 | 32 29 20 2b 20 48 65 61 |.Sync (1|2) + Hea|
|00005630| 64 65 72 20 28 34 29 20 | 2b 20 4d 6f 64 65 20 32 |der (4) |+ Mode 2|
|00005640| 20 55 73 65 72 20 64 61 | 74 61 20 28 32 33 33 36 | User da|ta (2336|
|00005650| 29 09 0d 0d 43 44 2d 52 | 4f 4d 20 4d 6f 64 65 20 |)...CD-R|OM Mode |
|00005660| 32 20 46 6f 72 6d 20 31 | 20 44 61 74 61 20 46 6f |2 Form 1| Data Fo|
|00005670| 72 6d 61 74 20 28 43 44 | 2d 58 41 20 6f 72 20 43 |rmat (CD|-XA or C|
|00005680| 44 2d 49 29 3a 0d 42 6c | 6f 63 6b 20 53 69 7a 65 |D-I):.Bl|ock Size|
|00005690| 0d 28 62 79 74 65 73 29 | 09 42 6c 6f 63 6b 20 43 |.(bytes)|.Block C|
|000056a0| 6f 6e 74 65 6e 74 73 20 | 28 73 69 7a 65 20 69 6e |ontents |(size in|
|000056b0| 20 62 79 74 65 73 29 09 | 0d 32 35 36 09 55 73 65 | bytes).|.256.Use|
|000056c0| 72 20 64 61 74 61 20 28 | 32 35 36 29 09 0d 35 31 |r data (|256)..51|
|000056d0| 32 09 55 73 65 72 20 64 | 61 74 61 20 28 35 31 32 |2.User d|ata (512|
|000056e0| 29 09 0d 31 30 32 34 09 | 55 73 65 72 20 64 61 74 |)..1024.|User dat|
|000056f0| 61 20 28 31 30 32 34 29 | 09 0d 32 30 34 38 09 55 |a (1024)|..2048.U|
|00005700| 73 65 72 20 64 61 74 61 | 20 28 32 30 34 38 29 09 |ser data| (2048).|
|00005710| 0d 32 30 35 36 09 53 75 | 62 68 65 61 64 65 72 20 |.2056.Su|bheader |
|00005720| 28 38 29 20 2b 20 55 73 | 65 72 20 64 61 74 61 20 |(8) + Us|er data |
|00005730| 28 32 30 34 38 29 09 0d | 32 33 33 36 09 53 75 62 |(2048)..|2336.Sub|
|00005740| 68 65 61 64 65 72 20 28 | 38 29 20 2b 20 55 73 65 |header (|8) + Use|
|00005750| 72 20 64 61 74 61 20 28 | 32 30 34 38 29 20 2b 20 |r data (|2048) + |
|00005760| 45 44 43 20 28 34 29 20 | 2b 20 45 43 43 20 28 32 |EDC (4) |+ ECC (2|
|00005770| 37 36 29 09 0d 32 33 34 | 30 09 48 65 61 64 65 72 |76)..234|0.Header|
|00005780| 20 28 34 29 20 2b 20 53 | 75 62 68 65 61 64 65 72 | (4) + S|ubheader|
|00005790| 20 28 38 29 20 2b 20 55 | 73 65 72 20 64 61 74 61 | (8) + U|ser data|
|000057a0| 20 28 32 30 34 38 29 20 | 2b 20 45 44 43 20 28 34 | (2048) |+ EDC (4|
|000057b0| 29 20 2b 20 45 43 43 20 | 28 32 37 36 29 09 0d 32 |) + ECC |(276)..2|
|000057c0| 33 35 32 09 53 79 6e 63 | 20 28 31 32 29 20 2b 20 |352.Sync| (12) + |
|000057d0| 48 65 61 64 65 72 20 28 | 34 29 20 2b 20 53 75 62 |Header (|4) + Sub|
|000057e0| 68 65 61 64 65 72 20 28 | 38 29 20 2b 20 55 73 65 |header (|8) + Use|
|000057f0| 72 20 64 61 74 61 20 28 | 32 30 34 38 29 20 2b 20 |r data (|2048) + |
|00005800| 45 44 43 20 28 34 29 20 | 2b 20 45 43 43 ca 28 32 |EDC (4) |+ ECC.(2|
|00005810| 37 36 29 09 0d 32 36 34 | 36 09 53 79 6e 63 20 28 |76)..264|6.Sync (|
|00005820| 31 32 29 20 2b 20 48 65 | 61 64 65 72 20 28 34 29 |12) + He|ader (4)|
|00005830| 20 2b 20 53 75 62 68 65 | 61 64 65 72 20 28 38 29 | + Subhe|ader (8)|
|00005840| 20 2b 20 55 73 65 72 20 | 64 61 74 61 20 28 32 30 | + User |data (20|
|00005850| 34 38 29 20 2b 20 45 44 | 43 20 28 34 29 20 2b 20 |48) + ED|C (4) + |
|00005860| 45 43 43 ca 28 32 37 36 | 29 20 2b 20 42 79 74 65 |ECC.(276|) + Byte|
|00005870| 20 45 72 72 6f 72 20 46 | 6c 61 67 73 20 28 32 39 | Error F|lags (29|
|00005880| 34 29 09 0d 32 36 34 37 | 09 53 79 6e 63 20 28 31 |4)..2647|.Sync (1|
|00005890| 32 29 20 2b 20 48 65 61 | 64 65 72 20 28 34 29 20 |2) + Hea|der (4) |
|000058a0| 2b 20 53 75 62 68 65 61 | 64 65 72 20 28 38 29 20 |+ Subhea|der (8) |
|000058b0| 2b 20 55 73 65 72 20 64 | 61 74 61 20 28 32 30 34 |+ User d|ata (204|
|000058c0| 38 29 20 2b 20 45 44 43 | 20 28 34 29 20 2b 20 45 |8) + EDC| (4) + E|
|000058d0| 43 43 ca 28 32 37 36 29 | 20 2b 20 42 6c 6f 63 6b |CC.(276)| + Block|
|000058e0| 20 45 72 72 6f 72 20 46 | 6c 61 67 20 28 31 29 20 | Error F|lag (1) |
|000058f0| 2b 20 42 79 74 65 20 45 | 72 72 6f 72 20 46 6c 61 |+ Byte E|rror Fla|
|00005900| 67 73 20 28 32 39 34 29 | 09 0d 0d 43 44 2d 52 4f |gs (294)|...CD-RO|
|00005910| 4d 20 4d 6f 64 65 20 32 | 20 46 6f 72 6d 20 32 20 |M Mode 2| Form 2 |
|00005920| 44 61 74 61 20 46 6f 72 | 6d 61 74 20 28 43 44 2d |Data For|mat (CD-|
|00005930| 58 41 20 6f 72 20 43 44 | 2d 49 29 3a 0d 42 6c 6f |XA or CD|-I):.Blo|
|00005940| 63 6b 20 53 69 7a 65 0d | 28 62 79 74 65 73 29 09 |ck Size.|(bytes).|
|00005950| 42 6c 6f 63 6b 20 43 6f | 6e 74 65 6e 74 73 20 28 |Block Co|ntents (|
|00005960| 73 69 7a 65 20 69 6e 20 | 62 79 74 65 73 29 09 0d |size in |bytes)..|
|00005970| 32 33 33 36 09 53 75 62 | 68 65 61 64 65 72 20 28 |2336.Sub|header (|
|00005980| 38 29 20 2b 20 55 73 65 | 72 20 64 61 74 61 20 28 |8) + Use|r data (|
|00005990| 32 33 32 34 29 20 2b 20 | 52 65 73 65 72 76 65 64 |2324) + |Reserved|
|000059a0| 20 6f 72 20 45 44 43 20 | 28 34 29 09 0d 32 33 34 | or EDC |(4)..234|
|000059b0| 30 09 48 65 61 64 65 72 | 20 28 34 29 20 2b 20 53 |0.Header| (4) + S|
|000059c0| 75 62 68 65 61 64 65 72 | 20 28 38 29 20 2b 20 55 |ubheader| (8) + U|
|000059d0| 73 65 72 20 64 61 74 61 | 20 28 32 33 32 34 29 20 |ser data| (2324) |
|000059e0| 2b 20 52 65 73 65 72 76 | 65 64 20 6f 72 20 45 44 |+ Reserv|ed or ED|
|000059f0| 43 20 28 34 29 09 0d 32 | 33 35 32 09 53 79 6e 63 |C (4)..2|352.Sync|
|00005a00| 20 28 31 32 29 20 2b 20 | 48 65 61 64 65 72 20 28 | (12) + |Header (|
|00005a10| 34 29 20 2b 20 53 75 62 | 68 65 61 64 65 72 20 28 |4) + Sub|header (|
|00005a20| 38 29 20 2b 20 55 73 65 | 72 20 64 61 74 61 20 28 |8) + Use|r data (|
|00005a30| 32 33 32 34 29 20 2b 20 | 52 65 73 65 72 76 65 64 |2324) + |Reserved|
|00005a40| 20 6f 72 20 45 44 43 20 | 28 34 29 09 0d 32 36 34 | or EDC |(4)..264|
|00005a50| 36 09 53 79 6e 63 20 28 | 31 32 29 20 2b 20 48 65 |6.Sync (|12) + He|
|00005a60| 61 64 65 72 20 28 34 29 | 20 2b 20 53 75 62 68 65 |ader (4)| + Subhe|
|00005a70| 61 64 65 72 20 28 38 29 | 20 2b 20 55 73 65 72 20 |ader (8)| + User |
|00005a80| 64 61 74 61 20 28 32 33 | 32 34 29 20 2b 20 52 65 |data (23|24) + Re|
|00005a90| 73 65 72 76 65 64 20 6f | 72 20 45 44 43 20 28 34 |served o|r EDC (4|
|00005aa0| 29 20 2b 20 42 79 74 65 | 20 45 72 72 6f 72 20 46 |) + Byte| Error F|
|00005ab0| 6c 61 67 73 20 28 32 39 | 34 29 09 0d 32 36 34 37 |lags (29|4)..2647|
|00005ac0| 09 53 79 6e 63 20 28 31 | 32 29 20 2b 20 48 65 61 |.Sync (1|2) + Hea|
|00005ad0| 64 65 72 20 28 34 29 20 | 2b 20 53 75 62 68 65 61 |der (4) |+ Subhea|
|00005ae0| 64 65 72 20 28 38 29 20 | 2b 20 55 73 65 72 20 64 |der (8) |+ User d|
|00005af0| 61 74 61 20 28 32 33 32 | 34 29 20 2b 20 52 65 73 |ata (232|4) + Res|
|00005b00| 65 72 76 65 64 20 6f 72 | 20 45 44 43 20 28 34 29 |erved or| EDC (4)|
|00005b10| 20 2b 20 42 6c 6f 63 6b | 20 45 72 72 6f 72 20 46 | + Block| Error F|
|00005b20| 6c 61 67 20 28 31 29 20 | 2b 20 42 79 74 65 20 45 |lag (1) |+ Byte E|
|00005b30| 72 72 6f 72 20 46 6c 61 | 67 73 20 28 32 39 34 29 |rror Fla|gs (294)|
|00005b40| 09 0d 0d 49 6e 70 75 74 | 20 50 61 72 61 6d 65 74 |...Input| Paramet|
|00005b50| 65 72 73 3a 0d 63 73 43 | 6f 64 65 09 37 39 0d 63 |ers:.csC|ode.79.c|
|00005b60| 73 50 61 72 61 6d 5b 30 | 5d 09 42 6c 6f 63 6b 20 |sParam[0|].Block |
|00005b70| 73 69 7a 65 20 74 68 65 | 20 64 72 69 76 65 20 73 |size the| drive s|
|00005b80| 68 6f 75 6c 64 20 75 73 | 65 20 66 72 6f 6d 20 6e |hould us|e from n|
|00005b90| 6f 77 20 6f 6e 0d 63 73 | 50 61 72 61 6d 5b 31 2d |ow on.cs|Param[1-|
|00005ba0| 31 30 5d 09 52 65 73 65 | 72 76 65 64 20 66 6f 72 |10].Rese|rved for|
|00005bb0| 20 66 75 74 75 72 65 20 | 75 73 65 20 2d 20 6d 75 | future |use - mu|
|00005bc0| 73 74 20 62 65 20 7a 65 | 72 6f 20 28 30 29 2e 0d |st be ze|ro (0)..|
|00005bd0| 53 74 61 74 75 73 20 52 | 65 74 75 72 6e 20 43 6f |Status R|eturn Co|
|00005be0| 64 65 73 3a 0d 6e 6f 45 | 72 72 09 54 68 65 20 62 |des:.noE|rr.The b|
|00005bf0| 6c 6f 63 6b 20 73 69 7a | 65 20 63 68 61 6e 67 65 |lock siz|e change|
|00005c00| 20 63 6f 6d 70 6c 65 74 | 65 64 20 73 75 63 63 65 | complet|ed succe|
|00005c10| 73 73 66 75 6c 6c 79 2e | 0d 70 61 72 61 6d 45 72 |ssfully.|.paramEr|
|00005c20| 72 09 41 6e 20 69 6e 76 | 61 6c 69 64 20 62 6c 6f |r.An inv|alid blo|
|00005c30| 63 6b 20 73 69 7a 65 20 | 77 61 73 20 73 70 65 63 |ck size |was spec|
|00005c40| 69 66 69 65 64 2e 0d 55 | 73 65 72 45 6a 65 63 74 |ified..U|serEject|
|00005c50| 20 28 63 73 43 6f 64 65 | 3d 38 30 29 0d 54 68 65 | (csCode|=80).The|
|00005c60| 20 63 6f 6e 74 72 6f 6c | 20 63 61 6c 6c 20 55 73 | control| call Us|
|00005c70| 65 72 45 6a 65 63 74 20 | 65 6e 61 62 6c 65 73 20 |erEject |enables |
|00005c80| 6f 72 20 64 69 73 61 62 | 6c 65 73 20 74 68 65 20 |or disab|les the |
|00005c90| 65 6a 65 63 74 20 62 75 | 74 74 6f 6e 20 6f 6e 20 |eject bu|tton on |
|00005ca0| 74 68 65 20 64 72 69 76 | 65 2e 20 54 68 69 73 20 |the driv|e. This |
|00005cb0| 63 61 6c 6c 20 70 72 6f | 76 69 64 65 73 20 61 20 |call pro|vides a |
|00005cc0| 6d 65 74 68 6f 64 20 74 | 6f 20 64 69 73 61 62 6c |method t|o disabl|
|00005cd0| 65 2f 65 6e 61 62 6c 65 | 20 74 68 65 20 6d 61 6e |e/enable| the man|
|00005ce0| 75 61 6c 20 65 6a 65 63 | 74 20 62 75 74 74 6f 6e |ual ejec|t button|
|00005cf0| 20 66 6f 72 20 61 20 73 | 70 65 63 69 66 69 65 64 | for a s|pecified|
|00005d00| 20 53 43 53 49 20 49 44 | 2e 20 47 6c 6f 62 61 6c | SCSI ID|. Global|
|00005d10| 20 76 61 72 69 61 62 6c | 65 73 20 61 72 65 20 6d | variabl|es are m|
|00005d20| 61 69 6e 74 61 69 6e 65 | 64 20 66 6f 72 20 65 61 |aintaine|d for ea|
|00005d30| 63 68 20 53 43 53 49 20 | 49 44 20 74 68 61 74 20 |ch SCSI |ID that |
|00005d40| 72 65 66 6c 65 63 74 20 | 74 68 65 20 63 75 72 72 |reflect |the curr|
|00005d50| 65 6e 74 20 73 74 61 74 | 65 20 6f 66 20 74 68 65 |ent stat|e of the|
|00005d60| 20 6d 61 6e 75 61 6c 20 | 65 6a 65 63 74 20 62 75 | manual |eject bu|
|00005d70| 74 74 6f 6e 2e 20 49 66 | 20 74 68 65 20 62 75 74 |tton. If| the but|
|00005d80| 74 6f 6e 20 69 73 20 65 | 6e 61 62 6c 65 64 2c 20 |ton is e|nabled, |
|00005d90| 74 68 65 20 64 72 69 76 | 65 72 20 73 65 74 73 20 |the driv|er sets |
|00005da0| 74 68 65 20 64 4e 65 65 | 64 54 69 6d 65 20 66 6c |the dNee|dTime fl|
|00005db0| 61 67 20 69 6e 20 74 68 | 65 20 61 70 70 72 6f 70 |ag in th|e approp|
|00005dc0| 72 69 61 74 65 20 44 43 | 45 2c 20 74 65 6c 6c 69 |riate DC|E, telli|
|00005dd0| 6e 67 20 74 68 65 20 64 | 72 69 76 65 72 20 74 6f |ng the d|river to|
|00005de0| 20 70 65 72 69 6f 64 69 | 63 61 6c 6c 79 20 70 6f | periodi|cally po|
|00005df0| 6c 6c 20 74 68 65 20 64 | 65 76 69 63 65 20 74 6f |ll the d|evice to|
|00005e00| 20 73 65 65 20 77 68 65 | 74 68 65 72 20 61 20 64 | see whe|ther a d|
|00005e10| 69 73 63 20 68 61 73 20 | 62 65 65 6e 20 65 6a 65 |isc has |been eje|
|00005e20| 63 74 65 64 2c 20 6f 72 | 20 69 6e 73 65 72 74 65 |cted, or| inserte|
|00005e30| 64 2e 20 54 68 69 73 20 | 69 73 20 74 68 65 20 6f |d. This |is the o|
|00005e40| 6e 6c 79 20 77 61 79 20 | 74 68 65 20 64 72 69 76 |nly way |the driv|
|00005e50| 65 72 20 68 61 73 20 74 | 6f 20 65 6e 73 75 72 65 |er has t|o ensure|
|00005e60| 20 74 68 65 20 76 61 6c | 69 64 69 74 79 20 6f 66 | the val|idity of|
|00005e70| 20 69 74 73 20 67 6c 6f | 62 61 6c 20 76 61 72 69 | its glo|bal vari|
|00005e80| 61 62 6c 65 73 20 69 6e | 20 74 68 69 73 20 73 69 |ables in| this si|
|00005e90| 74 75 61 74 69 6f 6e 2e | 20 57 68 65 6e 20 61 20 |tuation.| When a |
|00005ea0| 64 69 73 63 20 69 73 20 | 69 6e 73 65 72 74 65 64 |disc is |inserted|
|00005eb0| 2c 20 74 68 65 20 62 75 | 74 74 6f 6e 20 73 65 74 |, the bu|tton set|
|00005ec0| 74 69 6e 67 20 72 65 76 | 65 72 74 73 20 62 61 63 |ting rev|erts bac|
|00005ed0| 6b 20 74 6f 20 74 68 65 | 20 64 65 66 61 75 6c 74 |k to the| default|
|00005ee0| 20 73 65 74 74 69 6e 67 | 2e 0d 49 6e 70 75 74 20 | setting|..Input |
|00005ef0| 50 61 72 61 6d 65 74 65 | 72 73 3a 0d 63 73 43 6f |Paramete|rs:.csCo|
|00005f00| 64 65 09 38 30 0d 63 73 | 50 61 72 61 6d 5b 30 5d |de.80.cs|Param[0]|
|00005f10| 09 31 09 45 6e 61 62 6c | 65 20 74 68 65 20 6d 61 |.1.Enabl|e the ma|
|00005f20| 6e 75 61 6c 20 65 6a 65 | 63 74 20 62 75 74 74 6f |nual eje|ct butto|
|00005f30| 6e 2e 20 0d 09 ad 20 31 | 09 44 69 73 61 62 6c 65 |n. ... 1|.Disable|
|00005f40| 20 74 68 65 20 6d 61 6e | 75 61 6c 20 65 6a 65 63 | the man|ual ejec|
|00005f50| 74 20 62 75 74 74 6f 6e | 2e 20 7b 64 65 66 61 75 |t button|. {defau|
|00005f60| 6c 74 7d 0d 63 73 50 61 | 72 61 6d 5b 31 2d 31 30 |lt}.csPa|ram[1-10|
|00005f70| 5d 09 09 52 65 73 65 72 | 76 65 64 20 66 6f 72 20 |]..Reser|ved for |
|00005f80| 66 75 74 75 72 65 20 75 | 73 65 20 2d 20 6d 75 73 |future u|se - mus|
|00005f90| 74 20 62 65 20 7a 65 72 | 6f 20 28 30 29 2e 0d 53 |t be zer|o (0)..S|
|00005fa0| 74 61 74 75 73 20 52 65 | 74 75 72 6e 20 43 6f 64 |tatus Re|turn Cod|
|00005fb0| 65 73 3a 0d 6e 6f 45 72 | 72 09 54 68 65 20 62 75 |es:.noEr|r.The bu|
|00005fc0| 74 74 6f 6e 20 77 61 73 | 20 73 75 63 63 65 73 73 |tton was| success|
|00005fd0| 66 75 6c 6c 79 20 65 6e | 61 62 6c 65 64 2f 64 69 |fully en|abled/di|
|00005fe0| 73 61 62 6c 65 64 2e 0d | 6f 66 66 4c 69 6e 45 72 |sabled..|offLinEr|
|00005ff0| 72 09 4e 6f 20 64 69 73 | 63 20 69 6e 73 65 72 74 |r.No dis|c insert|
|00006000| 65 64 20 69 6e 20 74 68 | 65 20 64 72 69 76 65 2e |ed in th|e drive.|
|00006010| 0d 53 65 74 50 6f 6c 6c | 46 72 65 71 20 28 63 73 |.SetPoll|Freq (cs|
|00006020| 43 6f 64 65 3d 38 31 29 | 0d 54 68 65 20 70 75 72 |Code=81)|.The pur|
|00006030| 70 6f 73 65 20 6f 66 20 | 74 68 69 73 20 63 61 6c |pose of |this cal|
|00006040| 6c 20 69 73 20 74 6f 20 | 61 6c 6c 6f 77 20 61 6e |l is to |allow an|
|00006050| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|00006060| 73 70 65 63 69 66 79 20 | 61 20 64 69 66 66 65 72 |specify |a differ|
|00006070| 65 6e 74 20 70 6f 6c 6c | 69 6e 67 20 66 72 65 71 |ent poll|ing freq|
|00006080| 75 65 6e 63 79 20 28 69 | 6e 20 4d 61 63 69 6e 74 |uency (i|n Macint|
|00006090| 6f 73 68 20 74 69 6d 65 | 20 74 69 63 6b 73 29 20 |osh time| ticks) |
|000060a0| 74 68 61 6e 20 74 68 65 | 20 64 72 69 76 65 72 20 |than the| driver |
|000060b0| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 20 28 31 |default |value (1|
|000060c0| 32 30 29 2e 20 54 68 69 | 73 20 70 6f 6c 6c 69 6e |20). Thi|s pollin|
|000060d0| 67 20 66 72 65 71 75 65 | 6e 63 79 20 69 73 20 74 |g freque|ncy is t|
|000060e0| 68 65 20 76 61 6c 75 65 | 20 75 73 65 64 20 66 6f |he value| used fo|
|000060f0| 72 20 64 65 74 65 72 6d | 69 6e 69 6e 67 20 68 6f |r determ|ining ho|
|00006100| 77 20 6f 66 74 65 6e 20 | 74 68 65 20 61 63 63 52 |w often |the accR|
|00006110| 75 6e 20 43 6f 6e 74 72 | 6f 6c 20 63 61 6c 6c 20 |un Contr|ol call |
|00006120| 69 73 20 69 73 73 75 65 | 64 2c 20 61 73 20 77 65 |is issue|d, as we|
|00006130| 6c 6c 20 61 73 20 74 68 | 65 20 70 6f 6c 6c 69 6e |ll as th|e pollin|
|00006140| 67 20 66 72 65 71 75 65 | 6e 63 79 20 66 6f 72 20 |g freque|ncy for |
|00006150| 61 20 56 42 4c 20 74 61 | 73 6b 20 74 68 61 74 20 |a VBL ta|sk that |
|00006160| 69 73 20 73 74 61 72 74 | 65 64 20 64 75 72 69 6e |is start|ed durin|
|00006170| 67 20 74 68 65 20 65 78 | 65 63 75 74 69 6f 6e 20 |g the ex|ecution |
|00006180| 6f 66 20 74 68 65 20 64 | 72 69 76 65 72 d5 73 20 |of the d|river.s |
|00006190| 63 75 73 74 6f 6d 20 44 | 69 73 6b 20 53 77 69 74 |custom D|isk Swit|
|000061a0| 63 68 20 72 6f 75 74 69 | 6e 65 2e 0d 49 6e 70 75 |ch routi|ne..Inpu|
|000061b0| 74 20 50 61 72 61 6d 65 | 74 65 72 73 3a 0d 63 73 |t Parame|ters:.cs|
|000061c0| 43 6f 64 65 09 38 31 0d | 63 73 50 61 72 61 6d 5b |Code.81.|csParam[|
|000061d0| 30 5d 09 4e 75 6d 62 65 | 72 20 6f 66 20 4d 61 63 |0].Numbe|r of Mac|
|000061e0| 69 6e 74 6f 73 68 20 74 | 69 63 6b 73 20 74 6f 20 |intosh t|icks to |
|000061f0| 62 65 20 75 73 65 64 20 | 66 6f 72 20 70 6f 6c 6c |be used |for poll|
|00006200| 69 6e 67 20 66 72 65 71 | 75 65 6e 63 79 0d 63 73 |ing freq|uency.cs|
|00006210| 50 61 72 61 6d 5b 31 2d | 31 30 5d 09 52 65 73 65 |Param[1-|10].Rese|
|00006220| 72 76 65 64 20 66 6f 72 | 20 66 75 74 75 72 65 20 |rved for| future |
|00006230| 75 73 65 20 2d 20 6d 75 | 73 74 20 62 65 20 7a 65 |use - mu|st be ze|
|00006240| 72 6f 20 28 30 29 2e 0d | 53 74 61 74 75 73 20 52 |ro (0)..|Status R|
|00006250| 65 74 75 72 6e 20 43 6f | 64 65 73 3a 0d 6e 6f 45 |eturn Co|des:.noE|
|00006260| 72 72 09 54 68 69 73 20 | 69 73 20 74 68 65 20 6f |rr.This |is the o|
|00006270| 6e 6c 79 20 70 6f 73 73 | 69 62 6c 65 20 73 74 61 |nly poss|ible sta|
|00006280| 74 75 73 20 72 65 74 75 | 72 6e 20 63 6f 64 65 2e |tus retu|rn code.|
|00006290| 0d 52 65 61 64 54 4f 43 | 20 28 63 73 43 6f 64 65 |.ReadTOC| (csCode|
|000062a0| 3d 31 30 30 29 0d 54 68 | 65 20 70 75 72 70 6f 73 |=100).Th|e purpos|
|000062b0| 65 20 6f 66 20 74 68 69 | 73 20 63 61 6c 6c 20 69 |e of thi|s call i|
|000062c0| 73 20 74 6f 20 61 6c 6c | 6f 77 20 61 6e 20 61 70 |s to all|ow an ap|
|000062d0| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 20 72 65 63 |plicatio|n to rec|
|000062e0| 65 69 76 65 20 76 61 72 | 69 6f 75 73 20 74 79 70 |eive var|ious typ|
|000062f0| 65 73 20 6f 66 20 54 61 | 62 6c 65 20 4f 66 20 43 |es of Ta|ble Of C|
|00006300| 6f 6e 74 65 6e 74 73 20 | 28 54 4f 43 29 20 64 61 |ontents |(TOC) da|
|00006310| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 64 72 69 76 |ta from |the driv|
|00006320| 65 2e 20 54 68 65 72 65 | 20 61 72 65 20 73 69 78 |e. There| are six|
|00006330| 20 76 61 72 69 65 74 69 | 65 73 20 6f 66 20 74 68 | varieti|es of th|
|00006340| 65 20 52 65 61 64 54 4f | 43 20 63 61 6c 6c 2e 20 |e ReadTO|C call. |
|00006350| 0d 09 63 73 50 61 72 61 | 6d 2b 30 20 28 77 6f 72 |..csPara|m+0 (wor|
|00006360| 64 29 09 44 65 73 63 72 | 69 70 74 69 6f 6e 0d 31 |d).Descr|iption.1|
|00006370| 09 43 44 20 53 43 2c 20 | 43 44 20 53 43 20 50 6c |.CD SC, |CD SC Pl|
|00006380| 75 73 2c 20 43 44 20 31 | 35 30 3a 20 54 72 61 6e |us, CD 1|50: Tran|
|00006390| 73 66 65 72 73 20 74 68 | 65 20 66 69 72 73 74 20 |sfers th|e first |
|000063a0| 61 6e 64 20 6c 61 73 74 | 20 75 73 65 72 20 74 72 |and last| user tr|
|000063b0| 61 63 6b 20 6e 75 6d 62 | 65 72 20 28 69 6e 20 42 |ack numb|er (in B|
|000063c0| 43 44 29 20 6f 66 20 74 | 68 65 20 66 69 72 73 74 |CD) of t|he first|
|000063d0| 20 6f 72 20 6f 6e 6c 79 | 20 73 65 73 73 69 6f 6e | or only| session|
|000063e0| 2e 0d 09 43 44 20 33 30 | 30 20 26 20 43 44 20 33 |...CD 30|0 & CD 3|
|000063f0| 30 30 20 50 6c 75 73 3a | 20 54 72 61 6e 73 66 65 |00 Plus:| Transfe|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.